Skip to main content
DELETE
/
v1
/
voice-agents
/
knowledge-base
/
{id}
Delete Knowledge Base Item.
curl --request DELETE \
  --url https://api.tryhamsa.com/v1/voice-agents/knowledge-base/{id} \
  --header 'Authorization: <api-key>'
{
  "success": false,
  "message": "URL deleted successfully from knowledge base item!",
  "messageKey": "UrlDeletedSuccessfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt

Use this file to discover all available pages before exploring further.

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 knowledge base item to delete.

Example:

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

Response

Successful response

success
boolean
default:false
message
string
default:URL deleted successfully from knowledge base item!
Example:

"URL deleted successfully from knowledge base item!"

messageKey
string
default:UrlDeletedSuccessfully
Example:

"UrlDeletedSuccessfully"