---
title: "Changes to Remove the role of a User or a Group on an Organization"
method: DELETE
path: "/orgs/{orgId}/users/{userId}"
---

# Changes to Remove the role of a User or a Group on an Organization

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 9 revisions.

- **2025-06-21** `4db6186594e3`: 1 breaking, 2 info

## Changes

- **2025-06-21** `4db6186594e3`: 1 breaking, 2 info
  - added the pattern `^[a-z0-9](?:-?[a-z0-9]+)+$` to the `path` request parameter `userId`
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `403`

---

[Operation](https://skmtc.dev/humanitec/apis/humanitec-api/docs/orgs/:orgId/users/:userId/delete.md) - [API](https://skmtc.dev/humanitec/apis/humanitec-api.md) - [Page](https://skmtc.dev/humanitec/apis/humanitec-api/changes/orgs/:orgId/users/:userId/delete)
