Update a collection
Updates displayName (1–200 characters), description (up to 2,000 characters; pass null to clear), and/or slug (a rename). A slug change fails with a conflict when another active collection in the website already uses it, and when the website has a published version the rename is validated against the published site’s content queries and rejected when it would break them.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
1Body
1 - 2002000New slug for the collection — a rename. Omit to keep the current slug. Must be unique among the website’s active collections; when the website has a published version the rename is validated against the published site’s content queries.
^[a-z][a-z0-9-]{0,63}$Response
The updated collection.
Unique collection id.
Id of the owning website.
URL-shaped identifier, unique among the website’s active collections. Lowercase letters, digits, and hyphens, starting with a letter; max 64 characters.
Human-readable name, 1–200 characters.
Optional description, up to 2,000 characters.
Creation timestamp.
Last-modification timestamp.