POST /org/leave
Remove the calling user from the org bound to the current credential. No request body.
If you're the org's last remaining member, the org is closed and any pending invitations are revoked. You can't leave if you're the org's only owner while other members remain. Promote another member to owner first.
Response 204
No content.
Errors
401: no credential.404 NotOrgMember: you're not an active member of this org.409 LastOwner: you're the only owner and other members remain. Promote another owner first.
Example
curl -X POST "$SEISMIC_ORCHESTRATION_URL/v0/org/leave" \
-H "Authorization: Bearer $ACCESS_TOKEN"