---
title: "Leave Org"
method: DELETE
path: "/v1/orgs/{org_id}/members/me"
tags: ["memberships"]
---

# Leave Org

`DELETE /v1/orgs/{org_id}/members/me`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/orgs/{org_id}/members/me`
- Auth: none declared

Self-leave: any member (including a plain `member`) removes their OWN
membership — no admin gate. The last owner cannot leave (would orphan the
org) → 409 `last_owner`: transfer ownership or delete the org first.
Also drops the caller's project_members rows in this org.

## Path parameters

- `org_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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