---
title: "Changes to Delete team role"
method: DELETE
path: "/teams/{key}/roles/{roleId}"
---

# Changes to Delete team role

`DELETE /teams/{key}/roles/{roleId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 1064 revisions.

- **2026-11-09** `38649d1c1ac7`: 1 breaking, 3 info
- **2026-11-09** `24b4e38e7054`: 4 breaking, 4 info
- **2026-08-02** `84f157e4443a`: 1 info

## Changes

- **2026-11-09** `38649d1c1ac7`: 1 breaking, 3 info
  - added the pattern `^prl_[0-9a-z]{26}$` to the `path` request parameter `roleId`
  - the `role/id` response's property pattern `^prl_[0-9a-z]{26}$` was added for the status `200`
  - the `role/permissions/items/` response's property pattern `^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$` was added for the status `200`
  - the `role/teamId` response's property pattern `^tem_[0-9a-z]{26}$` was added for the status `200`
- **2026-11-09** `24b4e38e7054`: 4 breaking, 4 info
  - the `role/permissions` response property's minItems was decreased from `1` to `0` for the response status `200`
  - the `role/name` response property's minLength was decreased from `1` to `0` for the response status `200`
  - the `role/createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `role/updatedAt` response's property format changed from `date-time` to no format for status `200`
  - removed the pattern `^prl_[0-9a-z]{26}$` from the `path` request parameter `roleId`
  - the `role/id` response's property pattern `^prl_[0-9a-z]{26}$` was removed for the status `200`
  - the `role/permissions/items/` response's property pattern `^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$` was removed for the status `200`
  - the `role/teamId` response's property pattern `^tem_[0-9a-z]{26}$` was removed for the status `200`
- **2026-08-02** `84f157e4443a`: 1 info
  - added the non-success response with the status `412`

---

[Operation](https://skmtc.dev/session/apis/session-services-api/docs/teams/:key/roles/:roleId/delete.md) - [API](https://skmtc.dev/session/apis/session-services-api.md) - [Page](https://skmtc.dev/session/apis/session-services-api/changes/teams/:key/roles/:roleId/delete)
