---
title: "Remove a Role Assignment for a User"
method: DELETE
path: "/roles/assignments/users"
tags: ["Roles"]
---

# Remove a Role Assignment for a User

`DELETE /roles/assignments/users`

Currently supports environment scope assignments only.

## Query parameters

- `environmentId` string, required
- `userId` string, required

## Response `204`

Status 204 Response

---

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