---
title: "Update Role"
method: PATCH
path: "/api/admin/roles/{role_id}"
tags: ["admin-roles"]
---

# Update Role

`PATCH /api/admin/roles/{role_id}`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/roles/{role_id}`
- Auth: HTTP bearer

Update role metadata.

## Path parameters

- `role_id` string, uuid, required

## Request body

- UpdateRoleRequest
  - `label` string, nullable
  - `icon` string, nullable
  - `description` string, nullable
  - `is_active` boolean, nullable
  - `display_order` integer, nullable
  - `recommended_services` string[], nullable
  - `onboarding_message` string, nullable
  - `archetype` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
