File Collections
updateUserSchemaFileCollection
Update an existing file collection.
You can update the name, parent relationships, starred status, and enabled locations/purposes.
put/v1/{slug}/collections/{collectionSlug}
Request
- Base URLhttps://file.sls.epilot.io
- URLhttps://file.sls.epilot.io/v1/{slug}/collections/{collectionSlug}
- Auth
- HTTP bearer
- or API key in cookie token
Path parameters
slugstring required
The entity schema slug (e.g., order, opportunity)
collectionSlugstring required
The collection slug identifier
Request body
Response
File collection updated successfully
Example response
{
"slug": "_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234:documents",
"name": "Documents",
"parents": [
"_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234"
],
"enabled_purposes": [
"9eefcb98-93cf-4c5b-a040-f1d26d57c177",
"5c544c09-a691-43ed-a7fa-0a8b44b5b161"
],
"created_at": "2024-01-01T12:00:00Z",
"updated_at": "2024-01-02T12:00:00Z"
}Changes
No recorded changes to this operation across all 10 revisions of this API.