---
title: "Changes to Set key permissions"
method: POST
path: "/v2/keys.setPermissions"
---

# Changes to Set key permissions

`POST /v2/keys.setPermissions`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 90 revisions.

- **2026-08-11** `59efaed65ec4` — 1 warning, 1 info
- **2026-07-14** `43ad1ce9a152` — 2 info
- **2026-07-03** `1f6cb66aa3df` — 1 info
- **2026-02-27** `551df53dd45d` — 1 info
- **2026-01-14** `9a9c22b6dd09` — 1 info

## Changes

- **2026-08-11** `59efaed65ec4` — 1 warning, 1 info
  - the `permissions/items/` request property's maxLength was set to `128`
  - the `permissions/items/` request property's minLength was decreased from `3` to `1`
- **2026-07-14** `43ad1ce9a152` — 2 info
  - the endpoint scheme security `dashboard` was removed from the API
  - the endpoint scheme security `rootKey` was removed from the API
- **2026-07-03** `1f6cb66aa3df` — 1 info
  - the endpoint scheme security `dashboard` was added to the API
- **2026-02-27** `551df53dd45d` — 1 info
  - added the non-success response with the status `429`
- **2026-01-14** `9a9c22b6dd09` — 1 info
  - api operation id `setPermissions` removed and replaced with `keys.setPermissions`

---

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