curl --request PATCH \
--url https://developer.synq.io/api/incidents/v1/{incidentId}/close \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"incidentId": "<string>",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"at": "2023-11-07T05:31:56Z"
}'
{}
Close an incident
curl --request PATCH \
--url https://developer.synq.io/api/incidents/v1/{incidentId}/close \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"incidentId": "<string>",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"at": "2023-11-07T05:31:56Z"
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the incident to close
OK
The response is of type object
.