Remove a knowledge document
DELETE
/assistants /{id} /knowledge /{documentId}The agent no longer finds it, from the next call.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.documentIdstringrequiredID of the document, from
GET /.assistants/ {id}/ knowledge
Request body
No body: send the request without one.
Response
200successbooleanTrue when the document was removed.
Errors
- 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.