idempotency-key header to make the request safelysummary.success andsummary.fail to see how many entries were removed. Per-entry conditionssummary.fail; a 200error_code, error_message, and details.curl --location --request DELETE 'https://api.staging.vrtx.sa/whitelist/' \
--header 'idempotency-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"users": [
{
"national_id": "1234567890",
"external_reference": "ext-ref-001"
}
]
}'{
"status": "SUCCESS",
"summary": {
"total": 0,
"success": 0,
"fail": 0
}
}