---
title: "Leave the current workspace"
method: POST
path: "/api/workspace/leave"
tags: ["workspace"]
---

# Leave the current workspace

`POST /api/workspace/leave`

[cloud-only] Removes the authenticated user from the current workspace.

## Response `204`

Left workspace

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Workspace not found or not a member
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 2 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workspace/leave/post.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/c4db9e1283df/schema)
