---
title: "Leave an organization"
method: POST
path: "/v3/me/organizations/{id}/leave"
tags: ["User Profile"]
---

# Leave an organization

`POST /v3/me/organizations/{id}/leave`

## Request

- Base URL: `https://api.rhinoartisan.com`
- URL: `https://api.rhinoartisan.com/v3/me/organizations/{id}/leave`
- Auth: API key in header `apikey`
- TypeScript: <https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/docs/v3/me/organizations/:id/leave/post.ts> (a function with typed inputs; its response is checked against the schema)

Removes the user from one of their organizations. What they owned in it goes to one of its owners, and their API keys for it stop working. The only owner cannot leave.

## Path parameters

- `id` integer, required

## Response `200`

The user, as GET /v3/me

## Other responses

- `400`: ORGANIZATION_NEEDS_AN_OWNER
- `404`: ORGANIZATION_NOT_FOUND (not a member of it)

## Changes

- **2026-10-02** `82c79770c36b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/changes/v3/me/organizations/:id/leave/post.md)

---

[API](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api.md) - [All operations](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/revisions/f0e1d3d69cfb?raw)
