Skip to main content
DELETE
/
v1
/
voice-agents
/
collections
/
{id}
Delete Collection.
curl --request DELETE \
  --url https://api.tryhamsa.com/v1/voice-agents/collections/{id} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "Collection deleted successfully"
}

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string<uuid>
required

UUID of the collection to delete.

Example:

"d949f13f-40d2-4e48-ac86-b66633070603"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Collection deleted successfully"