Skip to main content
DELETE
/
alerts
/
{alertId}
/
items
/
batch
Remove multiple items from a alert
curl --request DELETE \
  --url https://api.artu.ai/alerts/{alertId}/items/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Environment: <api-key>' \
  --data '
{
  "itemIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "removed": 123
}

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the dashboard.

X-Environment
string
header
required

Target environment for the request. Must be "test" or "live".

Path Parameters

alertId
string<uuid>
required

Body

application/json
itemIds
string<uuid>[]
required
Required array length: 1 - 250 elements

Response

200 - application/json

OK

removed
number
required