---
title: "Update Role"
method: PATCH
path: "/api/project/{slug}/roles/{role_id}"
---

# Update Role

`PATCH /api/project/{slug}/roles/{role_id}`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/project/{slug}/roles/{role_id}`
- Auth: none declared

Update a role's name/description/permissions (admin/owner only).

## Path parameters

- `slug` string, required
- `role_id` string, required

## Request body

- RoleIn
  - `name` string, required
  - `description` string, nullable
  - `permissions` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fluxito/apis/fluxito-platform.md) · [All operations](https://skmtc.dev/fluxito/apis/fluxito-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxito/apis/fluxito-platform/revisions/d558e1fe9a04?raw)
