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"
}
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.
Was this page helpful?