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"] } }
This endpoint deletes multiple embedding documents.