# Remove a member

`DELETE /v1/workspaces/{workspaceId}/members/{userId}`

Removes someone from the workspace, its teamspaces and every page shared with them. Their private pages are transferred to the workspace owner and stay private.

Scope: `docs:write`.

## Request

```bash
curl -X DELETE "https://api.lydie.co/v1/workspaces/01JCQ3TZ0WJ8K4M2X7T9R6N1PA/members/kG7qL2m9XzP4tR8w" \
  -H "Authorization: Bearer $LYDIE_TOKEN"
```

## Path parameters

- `workspaceId` (string, required): (1–64 chars)
- `userId` (string, required): (1–64 chars)

## Response

- `ok` (true, required)

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

Errors use the envelope described at https://developers.lydie.co/errors.md.
