---
title: "remove team member"
method: DELETE
path: "/api/v0/team/members/{id}"
tags: ["Team"]
---

# remove team member

`DELETE /api/v0/team/members/{id}`

Removes a member from the team by revoking their team-related API keys and updating membership status. Cannot remove the team owner.

CLI Usage: `vastai remove team-member <id>`

## Path parameters

- `id` integer, required

## Response `200`

Member removed successfully

- object
  - `status` 'success'
  - `message` string

## Other responses

- `400` — Bad request - cannot remove team owner
- `401` — Unauthorized - invalid or missing API key
- `403` — Forbidden - user is blacklisted
- `404` — Member not found or already removed
- `429` — Too many requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
