Files
Rename or move File
Rename or move File
patch/file-storage/files/{id}
Path parameters
idstring required
ID of the record you are acting upon.
Query parameters
rawboolean
Include raw response. Mostly used for debugging purposes
Headers
x-apideck-consumer-idstring required
ID of the consumer which you want to get or push data from
x-apideck-app-idstring required
The ID of your Unify application
x-apideck-service-idstring
Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Request body
Example request
{
"name": "New Name.pdf",
"description": "Renamed PDF Document",
"parent_folder_id": "1234",
"pass_through": [
{
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000"
}
}
}
]
}
]
}Response
Files
Example response
{
"status_code": 200,
"status": "OK",
"service": "google-drive",
"resource": "files",
"operation": "update",
"data": {
"id": "12345"
}
}