Skip to main content

Unsuspend a Post

This endpoint unsuspends notifications' suspension for the selected post.

info

This operation requires authentication.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post

Example Request

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

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone