---
title: "Update Admin Role"
method: PATCH
path: "/api/v1/admin/roles/{id}"
tags: ["Admin Roles"]
---

# Update Admin Role

`PATCH /api/v1/admin/roles/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string, nullable
  - `permissions` string[]

## Response `200`

Updated

- object — Updated
  - `success` boolean, required
  - `data` object, required

## Other responses

- `400` — Validation failed or role name already exists
- `403` — Insufficient permissions or system role
- `404` — Role not found

---

[API](https://skmtc.dev/newapi/apis/qn-platform-api.md) · [All operations](https://skmtc.dev/newapi/apis/qn-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newapi/qn-platform-api/revisions/d61f11e363ff/schema)
