# dflow members:remove

> Remove a member after the email is confirmed.

Web page: /docs/cli/workspace/members-remove/

This removes a member after you pass their email as `--confirm-email`. A missing email exits 1 and deletes nobody. A personal workspace, and the last owner, are refused.

```bash
dflow members:remove USER --confirm-email EMAIL
```

## Flags

`--confirm-email` is required. A missing or empty flag exits 1 before the API call.

## What you see

The removed member’s email, role, and user id with status `removed`. Wrong `confirm_email` is validation and deletes nothing. A personal workspace and the last owner return precondition.
