Skip to main content

Suspend a Status

This endpoint suspends the notifications for the selected status.

info

This operation requires authentication.

HTTP Request

POST /api/v2/status/{id}/suspend/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this status

Example Request

const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/status/{id}/suspend/',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone