---
title: "Remove the role of a User or a Group on an Application"
method: DELETE
path: "/orgs/{orgId}/apps/{appId}/users/{userId}"
tags: ["public", "UserRole"]
---

# Remove the role of a User or a Group on an Application

`DELETE /orgs/{orgId}/apps/{appId}/users/{userId}`

## Path parameters

- `orgId` string, required
- `appId` string, required
- `userId` string, required

## Response `204`

Role of the User or the Group successfully deleted.

## Other responses

- `400` — The request was invalid. More detail can be found in the error body.
- `403` — Server understands the request but refuses to authorize it.
- `404` — Either the resource or a related resource could not be found. More detail can be found in the error body.

---

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