---
title: "Updating a Role"
method: PUT
path: "/v1/roles/{roleId}.json"
tags: ["roles"]
---

# Updating a Role

`PUT /v1/roles/{roleId}.json`

Update a role

## Path parameters

- `roleId` integer, required

## Query parameters

- `token` string, required

## Request body

- object
  - `name` string

## Response `200`

successful operation

- object
  - `Sucess` string

## Other responses

- `405` — Invalid input

---

[API](https://skmtc.net/restyaplatform/apis/restyaboard.md) · [All operations](https://skmtc.net/restyaplatform/apis/restyaboard/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/restyaplatform/restyaboard/versions/bfc753befdbe/schema)
