---
title: "Remove User From Project"
method: DELETE
path: "/projects/{project_id}/users/{user_id}"
tags: ["Projects"]
---

# Remove User From Project

`DELETE /projects/{project_id}/users/{user_id}`

## Request

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

Remove a user's explicit project permission.

Works for both full users and stub users.

Requirements:
- Requires FULL_ACCESS on the project
- Cannot remove project permission for workspace owners

Note: If this is the user's last project access and they are a member_limited user,
they will be automatically removed from the workspace as well.

## Path parameters

- `project_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)
