User-related API environment
Production user-related API docs
Delete a comment
Soft-delete a comment and its direct replies. Only the comment owner, post owner, or admins can delete.
Path Parameters
id number required
Unique numeric comment ID
Responses
- 200
- 400
- 401
- 404
Comment deleted
application/json
Schema
Example (from schema)
Schema
removed boolean
{
"removed": true
}
User not authorized to delete this comment
User not authenticated
The comment has already been deleted
Loading...