---
title: "Unassign Role From User"
method: DELETE
path: "/workspaces/{workspace_id}/roles"
tags: ["Workspaces"]
---

# Unassign Role From User

`DELETE /workspaces/{workspace_id}/roles`

Remove a role assignment from a user in a workspace.

Args:
    email (str): The email of the user.
    organization_id (str): The ID of the organization.
    role (str): The role to remove.
    workspace_id (str): The ID of the workspace.

## Path parameters

- `workspace_id` string, required

## Query parameters

- `email` string, required
- `organization_id` string, required
- `role` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/ea6421d829f1/schema)
