Skip to main content
PUT
/
v1
/
apps
/
custom-data
/
{app_id}
/
files
/
{file_id}
Update App Custom Data
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

Path Parameters

app_id
string<uuid>
required
file_id
string<uuid>
required

Body

application/json
file_name
string | null
active
boolean | null
labels
string<uuid>[] | null

Response

tenant_id
string<uuid>
required
file_name
required
Required string length: 1 - 2083
data_type
enum<string>
required
Available options:
file,
url
id
string<uuid> | null
app_id
string<uuid> | null
carbon_object_id
carbon_data_source_type
string | null
carbon_last_synced_on
string<date-time> | null
file_mime
string | null
file_size
integer | null
external_url
Required string length: 1 - 2083
active
boolean
default:true
state
enum<string>
Available options:
CREATED,
PENDING,
QUEUED,
QUEUED_FOR_RECONCILIATION,
SYNC_FAILED,
FAILED,
INDEXED,
DELETING
labels
AppLabel · object[]
added_on
string<date-time>
modified_on
string<date-time> | null
deleted_on
string<date-time> | null