Skip to main content

Delete a Discussion

This endpoint deletes a Discussion.

info

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

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this discussion

Example Request

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

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone