Skip to main content
Update Collection
Updates the name of a sub-collection. The root collection cannot be renamed (it has parentId: null, which this endpoint rejects).

Path Parameters

string
required
The ID of the collection to update.

Body Parameters

string
required
The new name for the collection. Must be a non-empty string.

Response

Returns the updated Collection object.

Error Responses

Returned when name is missing or an empty string. The error message names the offending field.
Returned when the collection doesn’t exist, doesn’t belong to the user, or is the root collection (which cannot be renamed).