DELETE
/
api
/
resources
/
{schemaDefinitionNameOrId}
/
batch
Batch Delete Resources
curl --request DELETE \
  --url https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}/batch \
  --header 'Content-Type: application/json' \
  --data '{
  "externalIds": [
    "<string>"
  ]
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "batchId": "<string>",
    "message": "<string>",
    "recordCount": 123,
    "schemaDefinitionId": "<string>"
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Path Parameters

schemaDefinitionNameOrId
string
required

The name or id of the schema definition the resources belong to

Body

application/json

Response

202
application/json

Status 202 response

The response is of type object.