curl --location --request DELETE 'https://api.getmetal.io/v1/indexes/{indexId}' \ --header 'Content-Type: application/json' \ --header 'x-metal-api-key: <api-key>' \ --header 'x-metal-client-id: <client-id>' \
{ "accepted": true }
This endpoint deletes an index and all documents within that index.