---
title: "Leave a team"
method: POST
path: "/v1/teams/{teamId}/leave"
tags: ["Teams"]
---

# Leave a team

`POST /v1/teams/{teamId}/leave`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/leave`
- Auth: HTTP bearer

Removes your own membership from the team. The last owner of a team must transfer ownership before leaving.

## Path parameters

- `teamId` string, required

## Response `204`

You left the team.

---

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