Ziwako Docs
ZiwakoRéférence APICollections

Delete Collection

DELETE
/collections/{id}

This endpoint deletes a Collection container identified by its id.

:::warning Impact of Deletion When a collection is deleted:

  • The collection metadata (title, settings, tags) is permanently removed.
  • All CollectionItems (the links between the collection and products/services) are destroyed.
  • Important: The original items (Products, Services, or ProProfils) themselves are NOT deleted from the system. Only their association with this specific list is removed. :::

This action is irreversible. It is recommended to implement a confirmation dialog in your user interface before calling this endpoint.

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X DELETE "https://example.com/collections/string"
{  "type": "string",  "code": "string",  "message": "string",  "status": 0}