Delete document

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

SecurityBearerAuth
Request
Request Body schema: application/json
required
version
integer <int64>

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

datasource
required
string

datasource of the document

objectType
required
string

object type of the document

id
required
string

The id of the document

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/deletedocument
Request samples
application/json
{
  • "version": 0,
  • "datasource": "string",
  • "objectType": "string",
  • "id": "string"
}