Bulk Update Files/Folders
PUT/medias/update-files
Updates metadata or status of multiple files and folders
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location identifier
altTypestringrequired
Type of entity that owns the files
Available options
locationfilesToBeUpdatedobject[]required
Array of file objects to be updated
{
"altId": "sx6wyHhbFdRXh302LLNR",
"altType": "location",
"filesToBeUpdated": [
{
"id": "686f9817f0d3165be9fbcef6",
"name": "Updated File Name.pdf"
}
]
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
[
{
"updated": true,
"id": "686f9817f0d3165be9fbcef6"
}
]