SmartGare
API referenceEndpoints

Close an open alert judged not worth acting on, saying why

**Required permission:** `supervision.alert:handle`

POST/supervision/v1/alerts/{id}/dismiss

Required permission: supervision.alert:handle

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DismissAlertRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/supervision/v1/alerts/string/dismiss" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "acknowledge_by": "2019-08-24T14:15:22Z",  "acknowledged_at": "2019-08-24T14:15:22Z",  "acknowledged_by": "string",  "alert_id": "string",  "audience": "string",  "cause": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    }  },  "cause_detail": "string",  "closed_at": "2019-08-24T14:15:22Z",  "closed_by": "string",  "closure": "string",  "closure_evidence": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    }  },  "closure_reason": "string",  "cycle_review_id": "string",  "escalated": true,  "escalated_at": "2019-08-24T14:15:22Z",  "escalated_to": "string",  "escalates_to": "string",  "last_occurred_at": "2019-08-24T14:15:22Z",  "occurrences": 0,  "place": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    }  },  "raised_at": "2019-08-24T14:15:22Z",  "seconds_to_acknowledge": 0,  "severity": "string",  "state": "string",  "trail": [    {      "actor": "string",      "at": "2019-08-24T14:15:22Z",      "detail": "string",      "kind": "string",      "permission": "string",      "reported": {        "code": "string",        "details": {          "property1": "string",          "property2": "string"        }      }    }  ],  "type": "string"}