User-related API environment
Production user-related API docs
These pages describe the Production user-related API stack.
Use production OAuth credentials, production API base URLs, and production app URLs when following this documentation.
Need to test before going live? Switch to the Pre-live docs using the environment switcher above.
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)
Example
Schema
removed boolean
{
"removed": true
}
{
"removed": true
}
User not authorized to delete this comment
User not authenticated
The comment has already been deleted
Loading...