---
title: "Changes to Create role"
method: POST
path: "/v2/permissions.createRole"
---

# Changes to Create role

`POST /v2/permissions.createRole`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 146 revisions.

- **2026-08-11** `e171c13af8aa`: 1 info
- **2026-08-10** `4bd11a7252bc`: 1 breaking, 1 info
- **2026-07-14** `43ad1ce9a152`: 2 info
- **2026-02-27** `551df53dd45d`: 1 info
- **2026-01-27** `c1dfa5d9c22b`: 1 breaking
- **2026-01-14** `9a9c22b6dd09`: 1 info

## Changes

- **2026-08-11** `e171c13af8aa`: 1 info
  - added the new optional request property `permissions`
- **2026-08-10** `4bd11a7252bc`: 1 breaking, 1 info
  - the `name` request property's maxLength was decreased to `128`
  - removed the pattern `^[a-zA-Z][a-zA-Z0-9._-]*$` from the request property `name`
- **2026-07-14** `43ad1ce9a152`: 2 info
  - the endpoint scheme security `bearer` was added to the API
  - the endpoint scheme security `rootKey` was removed from the API
- **2026-02-27** `551df53dd45d`: 1 info
  - added the non-success response with the status `429`
- **2026-01-27** `c1dfa5d9c22b`: 1 breaking
  - the `description` request property's maxLength was decreased to `512`
- **2026-01-14** `9a9c22b6dd09`: 1 info
  - api operation id `createRole` removed and replaced with `permissions.createRole`

---

[Operation](https://skmtc.dev/unkeyed/apis/unkey-api/docs/v2/permissions.createRole/post.md) - [API](https://skmtc.dev/unkeyed/apis/unkey-api.md) - [Page](https://skmtc.dev/unkeyed/apis/unkey-api/changes/v2/permissions.createRole/post)
