---
title: "Leave tenant"
method: DELETE
path: "/tenants/{tenant_id}/membership"
tags: ["Tenants"]
---

# Leave tenant

`DELETE /tenants/{tenant_id}/membership`

Removes the current user's membership from this tenant. The tenant owner cannot leave - they must transfer ownership or delete the tenant first. Session-only: API keys are tenant-scoped and cannot leave tenants.

## Path parameters

- `tenant_id` integer, required

## Response `204`

Membership removed for current user

## Other responses

- `400` — Caller is the tenant owner and cannot leave
- `404` — Not a member of this tenant

---

[API](https://skmtc.net/laserdata/apis/laserdata-cloud-core-api.md) · [All operations](https://skmtc.net/laserdata/apis/laserdata-cloud-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laserdata/laserdata-cloud-core-api/revisions/db81a447bba9/schema)
