Collections
...
Collections API
Collections

Delete Collection

3min

Delete Collection

Collections can be deleted by making an HTTP DELETE request to the /collections/COLLECTION_ID endpoint (where COLLECTION_ID is the id of the Collection you wish to delete).

A Collection can only be deleted when it is not running. To check whether a Collection is currently running use the Get Collection endpoint.

Example

DELETE /collections/COLLECTION_ID

In the example below we delete a Collections with id=123456 :

Curl
Node.js
Python
PHP


Backyard API responds with a JSON object confirming that the Collection has been deleted, or detailing the error if it has not been possible to delete the Collection:

JSON



Next Steps      Get Collections      List Collections