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

# Update Role By Id

`PUT /roles/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/roles/{id}`
- Auth: HTTP bearer

## Response `200`

Success

## Other responses

- `500`: Internal server error

## Changes

- **2026-10-06** `f6518e824e72`: 1 info
  - endpoint added
- **2026-10-01** `bf8eabe714b8`: 1 breaking
  - api removed without deprecation
- **2026-09-30** `4e859a579a3b`: 1 info
  - endpoint added
- **2026-04-21** `987e598d3650`: 1 breaking
  - api removed without deprecation
- **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

[Operation 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.dev/verifywise-ai/apis/verifywise-api/revisions/9ccf3d4f3918?raw)
