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.

Removes the blocked status from a member, restoring their access to community content.

URL Parameters

community_id
integer
required
The ID of the community
id
integer
required
The ID of the community membership

Returns

Returns a success message and the updated member object.
curl -X DELETE https://api.onlydrams.app/odis/v1/communities/1/members/50/unblock \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "message": "Member unblocked successfully",
  "member": {
    "id": 50,
    "status": "active",
    "is_blocked": false,
    "block_reason": null,
    "metadata": {
      "blocked": false,
      "unblocked_at": "2024-11-14T11:00:00Z",
      "unblocked_by": 100
    },
    "user": {
      "id": 200,
      "username": "whisky_lover"
    }
  }
}

Notes

  • Authorization: Community owner or admin only
  • Access Restoration: Member regains access to community content immediately
  • Subscription: If subscription is still active, access is fully restored
  • Metadata: Unblock details stored in member metadata including timestamp and unblocker ID
  • History: Previous block reason is preserved in metadata history