Documents

Delete document

Deletes the specified document from the index. Succeeds if document is not present.

post/api/index/v1/deletedocument

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/index/v1/deletedocument
  • Auth: HTTP bearer

Request body

versioninteger

Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.

datasourcestring required

datasource of the document

objectTypestring required

object type of the document

idstring required

The id of the document

Response

OK

Changes

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