# remove_member (/docs/reference/mcp-tools/remove_member)



{/* Generated by apps/docs/scripts/generate-mcp-pages.mjs — do not edit by hand. */}

Remove a member; revokes their sessions and tokens (Admin+; last-owner protected).

|                     |                                                          |
| ------------------- | -------------------------------------------------------- |
| Required permission | `members:write`                                          |
| Capability ID       | `members.remove`                                         |
| Destructive         | Yes — irreversible; agents should confirm before calling |

## Parameters [#parameters]

| Parameter | Type          | Required | Notes |
| --------- | ------------- | -------- | ----- |
| `userId`  | string (uuid) | yes      |       |

## Input schema (JSON Schema) [#input-schema-json-schema]

```json
{
  "type": "object",
  "properties": {
    "userId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "userId"
  ],
  "additionalProperties": false
}
```

## Access control [#access-control]

A call succeeds only when the personal access token's scopes **and** the holder's role both allow `members:write` (effective permission = scope ∩ role, default-deny). The tool runs inside the token owner's organization — tenancy is never a parameter.
