v1.0.0
OpenAPI 3.1.0
Update a file asset
Client Libraries
US region
Updates the name and/or parent folder of a file asset. The file itself (path, size) cannot be changed. At least one of name or parent_folder_id must be provided.
The unique identifier of the resource.
New display name for the asset. Cannot be blank after trimming.
The ID of the new parent folder. Set to null to move the asset to the root level.
File asset updated successfully.
curl https://api.customer.io/v1/assets/files/1 \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"name": "",
"parent_folder_id": null
}'
File asset updated successfully.