---
title: "Remove User From Workspace"
method: DELETE
path: "/workspaces/{workspace_id}/users"
tags: ["Workspaces"]
---

# Remove User From Workspace

`DELETE /workspaces/{workspace_id}/users`

Remove a user from a workspace.

Args:
    email (str): The email address of the user to be removed
    workspace_id (str): The ID of the workspace.

## Path parameters

- `workspace_id` string, required

## Query parameters

- `email` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 359 revisions in range; 46 could not be searched.

- **2025-06-27** `e3e84db47198` — 2 warning, 2 info
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - api tag `Workspace` added
  - api tag `Workspaces` removed

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/workspaces/:workspace_id/users/delete.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
