---
title: "Remove a member, or leave (your own account id)"
method: DELETE
path: "/api/v1/teams/{id}/members/{accountId}"
tags: ["Organizations"]
---

# Remove a member, or leave (your own account id)

`DELETE /api/v1/teams/{id}/members/{accountId}`

## Request

- Base URL: `https://philforms.com`
- URL: `https://philforms.com/api/v1/teams/{id}/members/{accountId}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `accountId` string, required

## Response `204`

Done (no body)

## Other responses

- `403`: Not allowed (the owner cannot leave)
- `404`: Not on this team

---

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