# Remove A Workspace Member

`DELETE /shares/workspace/members/{memberId}`

Removes a member from the authenticated owner’s workspace.
## Authentication

Use one of the following authentication alternatives:

- **API token** (`bearerToken`) : Send a named API token in the Authorization header. Send it in the `Authorization: Bearer <token>` header.
- **Better Auth browser session** (`browserSession`) : Use the Better Auth session cookie from a signed-in browser session. Send it in the `better-auth.session_token` cookie.
## Token permissions

API tokens must include `pages:write`.
## Parameters

- `memberId` (path, required): The UUID of the member.
## Responses

### 200

Workspace member removed.


### `application/json`

```json
{
  "ok": false,
  "message": "string"
}
```

### 403

The API token is missing a required scope: pages:write.


### `application/json`

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
