Skip to main content

Delete a Post

This endpoint delete a Post

info

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

HTTP Request

DELETE /api/v2/post/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post.

Example Request

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

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


Responses

StatusMeaningDescriptionSchema
204No ContentnoneNone