---
title: "Update Role"
method: PUT
path: "/auth/roles/{role_id}"
tags: ["auth", "roles"]
---

# Update Role

`PUT /auth/roles/{role_id}`

Update role

## Path parameters

- `role_id` string, required

## Request body

- CreateOrUpdateRole
  - `name` string
  - `description` string
  - `scopes` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/keephq/apis/keep-api.md) · [All operations](https://skmtc.net/keephq/apis/keep-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keephq/keep-api/revisions/bb4a0896091f/schema)
