Alerts: delete

Description

Deletes specified alerts by id from the memory store.

Request

Method Path Content-Type Header
POST /api/v1/alerts/delete application/json

Parameters

None.

Fields

An array of objects containing an id field to identify the deleted alerts.

Field Description
id Alert id

Response

Fields

None.

Errors

None.

Example

Request

URI

POST /api/v1/alerts/delete

Payload

[
  {"id": 10},
  {"id": 14}
]

curl

curl https://atsd_hostname:8443/api/v1/alerts/delete \
  -k --user {username}:{password} \
  --header "Content-Type: application/json" \
  --data '[{"id":10},{"id":14}]'

Response

None.

Additional Examples