Skip to main content

Suspend a Discussion

This endpoint suspends the notifications for the selected discussion.

info

This operation requires authentication.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this discussion

Example Request

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

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone