cURL
curl --request POST \ --url https://api.zeroentropy.dev/v1/collections/delete-collection \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "collection_name": "<string>" }'
{ "message": "Success!" }
Deletes a collection.
A 404 Not Found status code will be returned, if the provided collection name does not exist.
404 Not Found