memberships

Leave Membership

Leave an organization (delete your own membership).

Business rules:

  • User can only leave their own membership
  • Can only leave accepted memberships (use decline for pending)
  • Cannot leave if you're the only owner AND there are other members
  • Cannot leave if it's your only organization
  • If leaving active org, auto-switches to another available org

Returns success status and org switch info if applicable.

delete/v1/memberships/{membership_id}

Request

  • Base URL: https://api.claims.zicron.ai
  • URL: https://api.claims.zicron.ai/v1/memberships/{membership_id}
  • Auth: none declared

Path parameters

membership_idstring required

Response

Successful Response

okboolean required
switched_to_org_idstring nullable
switched_to_org_namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.