Delete Knowledge Base Item.

Deletes a knowledge base item. Returns an error if the item is currently active in a voice agent.

delete/v1/voice-agents/knowledge-base/{id}

Request

  • Base URL
    https://api.tryhamsa.com
  • URL
    https://api.tryhamsa.com/v1/voice-agents/knowledge-base/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring uuid required
Example:d949f13f-40d2-4e48-ac86-b66633070603

UUID of the knowledge base item to delete.

Response

Successful response

successboolean
messagestring
messageKeystring

Example response

{
  "message": "URL deleted successfully from knowledge base item!",
  "messageKey": "UrlDeletedSuccessfully"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.