Skip to main content

Delete a Comment

This endpoint deletes a Comment.

info

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

HTTP Request

DELETE /api/v2/comment/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post

Example Request

fetch('/api/v2/comment/{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