Skip to content

Leave an organization

DELETE
/v1/membership
curl -X DELETE "https://api.summerbase.com/v1/membership" \
-H "Authorization: Bearer sb_..."

Leave this organization. The membership goes and the account stays, and it takes an invitation to get back in.

Returns the deleted membership’s id, with deleted: true.

Media typeapplication/json

Example

{
"deleted": true,
"id": "6f1c2a9e-0b7d-4c3e-9a51-2f8d4e7b1c60",
"object": "membership"
}