# Remove member

Removes a member from the organization. Console session or API key with members:manage; only an owner can remove an owner and the last owner can't be removed (409).

`DELETE /v1/org/members/{mid}`

Removes a member from the organization. Console session or API key with members:manage; only an owner can remove an owner and the last owner can't be removed (409).

Requires permission `members:manage`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `mid` | path | yes | Membership id (mem_...). |

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "ok": true
}
```
