Delete document

Deletes the document with the specified doc_id from the specified external source.

Deletion is asynchronous: the request returns 204 No Content once the deletion is accepted. Follow it with GET /knowledge-management/external-sources/{external_source_id}/documents/{doc_id}/status, which reports DELETE_PENDING, then DELETED, or FAILED with error code DELETE_DOCUMENT_ERROR.
Note: This operation is only valid for external sources of type CUSTOM. Attempts to perform it in other types of external sources are rejected with a 400 Bad Request error.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Scope

km-external-sources:write

Path Params
string
required
length between 36 and 36

The external source id.

string
required
length between 1 and 255

The document id.

Responses
204

Document deletion accepted.

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json