---
title: "Remove a member from the workspace (access revoked immediately). Dry-run unless confirm is true. When the person asked for this, call it with confirm=true."
method: POST
path: "/api/v1/team/remove"
---

# Remove a member from the workspace (access revoked immediately). Dry-run unless confirm is true. When the person asked for this, call it with confirm=true.

`POST /api/v1/team/remove`

## Request

- Base URL: `https://api.rctrl.com`
- URL: `https://api.rctrl.com/api/v1/team/remove`
- Auth: HTTP bearer

Requires the `manage:org` scope.

## Request body

- object
  - `userId` string, required: Member user id from get_team
  - `confirm` boolean: Set true to remove the member (default: dry run)

## Response `200`

Success; the payload is wrapped in a data envelope

- object
  - `data` unknown

## Other responses

- `400`: Bad input
- `401`: Missing or invalid API key
- `403`: API key lacks the required scope
- `404`: Not found in this workspace
- `429`: Rate limited; the body includes a retryAfterMs hint

---

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