cURL
curl --request POST \ --url https://api.diversion.dev/v0/organizations/{org_id}/leave \ --header 'Authorization: Bearer <token>'
This response does not have an example.
Leave the organization as a member. Organization owners and repository owners cannot leave until they transfer ownership.
This API uses OAuth 2 with the implicit grant flow
An ID of an organization
Request completed successfully