Dynamiq
Knowledge Bases

Delete a knowledge base item

Deletes an item and its indexed documents from the knowledge base.

DELETE
/v1/knowledgebase-items/{knowledgebase_item_id}

Authorization

personalAccessToken
AuthorizationBearer <token>

Personal Access Token of a Dynamiq user — the only credential accepted by the management API (api.*). Prefix dyn_pat_ (legacy uak_ tokens still authenticate). Send as Authorization: Bearer <token>.

In: header

Path Parameters

knowledgebase_item_id*string

Knowledge base item UUID.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/knowledgebase-items/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "message": "deleted"
}
{
  "error": {
    "code": "unauthorized",
    "message": "Unauthorized"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Not Found"
  }
}