---
title: "Remove a member from a team"
method: DELETE
path: "/organizations/{organization}/teams/{team}/members/{id}"
tags: ["Team members"]
---

# Remove a member from a team

`DELETE /organizations/{organization}/teams/{team}/members/{id}`

### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `write_teams`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `write_organization` |

## Path parameters

- `organization` string, required
- `team` string, required
- `id` string, required

## Query parameters

- `delete_passwords` boolean

## Response `204`

Member removed successfully. Note: SSO-managed teams cannot have members removed.

## Other responses

- `400` — Bad Request - Invalid operation or SSO-managed team
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity - Validation errors
- `500` — Internal Server Error

## Changes

- **2026-06-01** `72506953f367` — 1 breaking, 1 info
  - removed the request body
  - added the new optional `query` request parameter `delete_passwords`
- **2026-02-10** `ed1825db11c6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/teams/:team/members/:id/delete.md)

---

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