Skip to main content
POST
/
v1
/
auth
/
orgs
/
members
/
leave
Leave the active organization. The caller's membership is suspended (not deleted) so audit attribution is preserved. The last active owner cannot leave.
curl --request POST \
  --url http://127.0.0.1:8787/v1/auth/orgs/members/leave \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "message": "<string>",
    "status": "success"
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Caller's membership suspended.

data
object
required
error
null
required