CMS collections

Delete a collection

Soft-deletes the collection, making it and all of its items unreachable through the API; the slug becomes reusable. Refused with a conflict while any reference field in another collection targets this collection — delete those fields first. If the website has a published version, the deletion is validated against the published site’s content queries and rejected when the site still depends on the collection.

delete/cms/collections/{collectionId}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/cms/collections/{collectionId}
  • Auth: HTTP bearer

Path parameters

collectionIdstring required

Response

Deletion acknowledgement.

deletedtrue required

Always true once the collection is deleted.

Changes

No recorded changes to this operation across all 1 revision of this API.