Skip to main content
DELETE
http://localhost:3000
/
memberships
/
{id}
curl -X DELETE 'https://api.example.com/memberships/mem_789' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}

Path Parameters

id
string
required
The unique identifier of the membership to delete

Response

Returns a success confirmation.
Deleting a membership will also remove all role assignments associated with it.
curl -X DELETE 'https://api.example.com/memberships/mem_789' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}