---
title: "Changes to Modify Role"
method: PUT
path: "/api/admin-role/{role_id}"
---

# Changes to Modify Role

`PUT /api/admin-role/{role_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `a7dc3fda908f`: 6 info

## Changes

- **2026-11-03** `a7dc3fda908f`: 6 info
  - added the new optional request property `permissions/anyOf[subschema #1: RolePermissions]/admins/anyOf[subschema #1: AdminsPermissions]/passkeys`
  - added the new optional request property `permissions/anyOf[subschema #1: RolePermissions]/api_keys`
  - the `require_hwid_for_manual_sub` request property default value changed from `true` to `false`
  - added the optional property `permissions/admins/anyOf[subschema #1: AdminsPermissions]/passkeys` to the response with the `200` status
  - added the optional property `permissions/api_keys` to the response with the `200` status
  - the `require_hwid_for_manual_sub` response's property default value changed from `true` to `false` for the status `200`

---

[Operation](https://skmtc.dev/ha-man2/apis/pasarguardapi/docs/api/admin-role/:role_id/put.md) - [API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) - [Page](https://skmtc.dev/ha-man2/apis/pasarguardapi/changes/api/admin-role/:role_id/put)
