---
title: "Changes to Remove role from admin user or API Key"
method: DELETE
path: "/api/license-manager/users/{userId}/roles/{roleId}"
---

# Changes to Remove role from admin user or API Key

`DELETE /api/license-manager/users/{userId}/roles/{roleId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 7 of 50 revisions.

- **2023-10-11** `fcf61fb140f2` — 1 breaking
- **2022-01-28** `ca8bd421f133` — 2 warning
- **2021-11-09** `7a2ee1e98a24` — 1 breaking, 1 warning, 3 info
- **2021-11-01** `2a274b318992` — 1 breaking, 1 warning
- **2021-10-28** `e1d08a8a5e44` — 1 breaking, 1 warning
- **2020-09-10** `8cadf54dc60b` — 1 breaking, 1 warning
- **2020-07-28** `542cee6d046e` — 1 breaking, 1 warning

## Changes

- **2023-10-11** `fcf61fb140f2` — 1 breaking
  - added the new required `header` request parameter `Accept`
- **2022-01-28** `ca8bd421f133` — 2 warning
  - deleted the `path` request parameter `accountName`
  - deleted the `path` request parameter `environment`
- **2021-11-09** `7a2ee1e98a24` — 1 breaking, 1 warning, 3 info
  - removed the success response with the status `200`
  - deleted the `path` request parameter `environment`
  - added the non-success response with the status `400`
  - added the non-success response with the status `405`
  - added the success response with the status `204`
- **2021-11-01** `2a274b318992` — 1 breaking, 1 warning
  - added the new path request parameter `environment`
  - deleted the `path` request parameter `environment`
- **2021-10-28** `e1d08a8a5e44` — 1 breaking, 1 warning
  - added the new path request parameter `environment`
  - deleted the `path` request parameter `environment`
- **2020-09-10** `8cadf54dc60b` — 1 breaking, 1 warning
  - added the new path request parameter `environment`
  - deleted the `path` request parameter `environment`
- **2020-07-28** `542cee6d046e` — 1 breaking, 1 warning
  - added the new path request parameter `environment`
  - deleted the `path` request parameter `environment`

---

[Operation](https://skmtc.dev/vtex/apis/license-manager-api/docs/api/license-manager/users/:userId/roles/:roleId/delete.md) · [API](https://skmtc.dev/vtex/apis/license-manager-api.md) · [Page](https://skmtc.dev/vtex/apis/license-manager-api/changes/api/license-manager/users/:userId/roles/:roleId/delete)
