Delete Collection
DELETE https://api.credal.ai/api/v0/documentCollections/deleteCollection Content-Type: application/json
Delete the collection.
Reference: https://docs.credal.ai/api-reference/api-reference/document-collections/delete-collection
Authentication
Section titled “Authentication”Authorizationheader (bearer token, required) — Bearer authentication of the formBearer <token>, where token is your auth token.
Request
Section titled “Request”Body (application/json)
This endpoint expects an object.
collectionId(UUID, required)
Response
Section titled “Response”200
collectionId(UUID, required)
Examples
Request
{
"collectionId": "ac20e6ba-0bae-11ef-b25a-efca73df4c3a"
}Response
{
"collectionId": "ac20e6ba-0bae-11ef-b25a-efca73df4c3a"
}