---
title: "Update Role By Id"
method: PUT
path: "/roles/{id}"
tags: ["Roles"]
---

# Update Role By Id

`PUT /roles/{id}`

## Path parameters

- `id` integer, required

## Request body

- object

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-04-05** `c419b1e72a65` — 1 breaking, 3 warning, 6 info
  - removed the media type `application/json` for the response with the status `200`
  - removed the request property `description`
  - removed the request property `id`
  - removed the request property `name`
  - …6 more
- **2025-09-11** `cfa9ae933c17` — 1 breaking, 6 info
  - removed the success response with the status `202`
  - api tag `Roles` added
  - api tag `roles` removed
  - added the new optional request property `id`
  - …3 more
- **2025-08-29** `af64a3a9480e` — 1 breaking, 3 info
  - the `data` response's property type/format changed from ``/`` to `object`/`` for status `202`
  - added the optional property `data/description` to the response with the `202` status
  - added the optional property `data/id` to the response with the `202` status
  - added the optional property `data/name` to the response with the `202` status
- **2025-08-08** `550d1cb0d011` — 1 breaking, 3 warning
  - the `data` response's property type/format changed from `object`/`` to ``/`` for status `202`
  - removed the optional property `data/description` from the response with the `202` status
  - removed the optional property `data/id` from the response with the `202` status
  - removed the optional property `data/name` from the response with the `202` status
- …earlier changes not shown

[Full history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/roles/:id/put.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/55cdc040840c/schema)
