---
title: "Changes to Modify Admin By Id"
method: PUT
path: "/api/admin/by-id/{admin_id}"
---

# Changes to Modify Admin By Id

`PUT /api/admin/by-id/{admin_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

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

## Changes

- **2026-11-03** `a7dc3fda908f`: 5 info
  - added the new optional request property `custom_variables`
  - added the optional property `custom_variables` to the response with the `200` status
  - added the optional property `role/anyOf[subschema #1: AdminRoleData]/permissions/admins/anyOf[subschema #1: AdminsPermissions]/passkeys` to the response with the `200` status
  - added the optional property `role/anyOf[subschema #1: AdminRoleData]/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/by-id/:admin_id/put.md) - [API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) - [Page](https://skmtc.dev/ha-man2/apis/pasarguardapi/changes/api/admin/by-id/:admin_id/put)
