cURL
curl -X DELETE \
-H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/alerts/{id}"{
"deleted": true
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Alerts
Delete an alert
Soft-delete an alert. Existing matches and deliveries are retained for audit but no further matches will be produced.
DELETE
/
v1
/
alerts
/
{id}
cURL
curl -X DELETE \
-H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/alerts/{id}"{
"deleted": true
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Was this page helpful?