Leave the organisation (never its last owner)
POST
/v1/organisations/{id}/leaveOperation organisations.leave · since 2026-11-05 · stable
Needs a session withwritescopeAnswers200 OK
The last owner cannot leave: offer ownership first.
Path parameters
- idstring (uuid)required
- The organisation id.
Body
None. Send no body, or an empty JSON object.
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
POST/v1/organisations/{id}/leave
curl -X POST "https://api.rykloud.com/v1/organisations/$ORG_ID/leave" \
-H "Authorization: Bearer $RYKLOUD_TOKEN"With the rykloud CLI
rykloud orgs leave ORG [flags]Command reference: rykloud orgs leave