Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Deletes a comment. Users can delete their own comments, and community owners can delete any comment in their community.

URL Parameters

id
string
required
The unique identifier of the comment

Returns

Returns a success message.
curl -X DELETE https://api.onlydrams.app/api/v1/comments/comment-uuid \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "message": "Comment deleted successfully"
}

Error Responses

403 Forbidden
object
Returned when user doesn’t have permission to delete the comment
ERROR
{
  "message": "You don't have permission to delete this comment"
}

Notes

  • Authorization: Comment owner, community owner, or admin
  • Permanent Deletion: This action cannot be undone