We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/posts/[post_id]/destroy
Method:
DELETE
Example:
GET /posts/95875f36-9dc0-4672-b733-6c9bf84c2eba/destroy HTTP 405 Method Not Allowed Allow: DELETE, OPTIONS Content-Type: application/json Vary: Accept { "detail": "Method \"GET\" not allowed." }
After the author delete the post, it would show:
DELETE /posts/95875f36-9dc0-4672-b733-6c9bf84c2eba/destroy HTTP 204 No Content Allow: DELETE, OPTIONS Content-Type: application/json Vary: Accept