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
The Authorization header must be provided in the format Bearer <your-api-key>.
Authorization
Bearer <your-api-key>
You can get your API Key at the Dashboard!
Successful Response
The response is of type object.
object