Skip to main content

Restore a Discussion

This endpoint restores a Discussion.

info

This operation requires authentication. The logged user must be the discussion creator

HTTP Request

DELETE /api/v2/discussion/{id}/restore/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this discussion

Example Request

fetch('/api/v2/discussion/{id}/restore/',
{
method: 'POST',
headers: {
'Authorization': 'Bearer {access_token}'
}

})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone