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.

Permanently deletes a community post and all associated data (images, polls, comments).

URL Parameters

community_id
integer
required
The ID of the community
id
integer
required
The ID of the community post to delete

Returns

Returns a success message.
curl -X DELETE https://api.onlydrams.app/odis/v1/communities/1/posts/2 \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "message": "Community post deleted successfully"
}

Notes

  • Authorization: Community owner or admin only
  • Permanent: This action cannot be undone
  • Cascade: Deletes all associated images, polls, poll votes, and comments
  • Alternative: Consider using the archive endpoint to hide posts without deleting