---
title: "Remove a member from the workspace"
method: DELETE
path: "/api/v1/account/workspace-members/{memberId}"
tags: ["Account"]
---

# Remove a member from the workspace

`DELETE /api/v1/account/workspace-members/{memberId}`

## Request

- Base URL: `https://api.dotsy.ai`
- URL: `https://api.dotsy.ai/api/v1/account/workspace-members/{memberId}`
- Auth: HTTP bearer

Removes the person from the active workspace. Only a workspace Owner or Admin can. A workspace always keeps at least one owner.

## Path parameters

- `memberId` string, required

## Headers

- `X-Dotsy-Workspace` string

## Response `200`

The member was removed.

- object
  - `ok` true, required

## Other responses

- `400`: The removal was refused (for example, the last owner can't be removed).
- `401`: Missing or invalid credentials.
- `403`: `workspace_admin_required`: only a workspace Owner or Admin can remove people.

---

[API](https://skmtc.dev/dotsy/apis/dotsy-api.md) · [All operations](https://skmtc.dev/dotsy/apis/dotsy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dotsy/apis/dotsy-api/revisions/4272ed3b85d7?raw)
