PUT
/
v1
/
apps
/
custom-data
/
{app_id}
/
files
/
{file_id}
curl --request PUT \
  --url https://api.pulze.ai/v1/apps/custom-data/{app_id}/files/{file_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_name": "<string>",
  "active": true,
  "labels": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "carbon_object_id": "<string>",
  "carbon_data_source_type": "<string>",
  "carbon_last_synced_on": "2023-11-07T05:31:56Z",
  "file_name": "<string>",
  "file_mime": "<string>",
  "file_size": 123,
  "external_url": "<string>",
  "data_type": "file",
  "active": true,
  "state": "PENDING",
  "labels": [
    {
      "name": "<string>",
      "description": "<string>",
      "color": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "added_on": "2023-11-07T05:31:56Z",
  "modified_on": "2023-11-07T05:31:56Z",
  "deleted_on": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required
file_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.