v1.0.0
OpenAPI 3.1.0
Delete a collection
Client Libraries
US region
Remove a collection and its contents. You can't delete a collection that an automation or broadcast queries, including an archived one, because you could unarchive it later. Remove the collection from those messages first.
The identifier for a collection.
The collection is deleted.
The collection id does not exist.
An automation or broadcast still queries the collection. The response lists the ID of each one.
curl https://api.customer.io/v1/collections/1 \
--request DELETE \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
The collection is deleted.