AACsearch
Api reference

Delete a document

DELETE
/indexes/{indexId}/documents/{documentId}

Authorization

BearerAuth
AuthorizationBearer <token>

Search API key (ss_search_*) from the dashboard or keys API. Scopes (search, ingest, admin) are stored on the key; each route requires the matching scope.

In: header

Path Parameters

indexId*string
documentId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://loading/api/v1/indexes/string/documents/string"
{
  "id": "string",
  "deleted": true
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "string",
  "message": "string",
  "details": null
}