DELETE
/
v1
/
indexes
/
{indexId}
/
documents
/
bulk
curl --location --request DELETE 'https://api.getmetal.io/v1/indexes/{indexId}/v1/documents/bulk' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
--data-raw '{
    "ids": ["id1", "id2"],
}'
{
  "data": {
    "ids": ["id1", "id2"]
  }
}

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Body

ids
string[]
required

Array of document ids to delete

Response

data
object