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

# Remove User From Workspace

`DELETE /workspaces/{workspace_id}/users/{user_id}`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/workspaces/{workspace_id}/users/{user_id}`
- Auth: API key in header `Authorization`

Remove a user from a workspace.

This works for both full users and stub users. Removing a user from the workspace
also removes all their project-level permissions within this workspace.

## Path parameters

- `workspace_id` string, uuid, required
- `user_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
