curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/leave \
--header 'Authorization: Bearer <token>'{
"status": 123,
"detail": "<string>",
"title": "<string>",
"type": "<string>"
}Leave the organization as a member. Organization owners and repository owners cannot leave until they transfer ownership.
curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/leave \
--header 'Authorization: Bearer <token>'{
"status": 123,
"detail": "<string>",
"title": "<string>",
"type": "<string>"
}