---
title: "PUT /roles/{id}"
method: PUT
path: "/roles/{id}"
tags: ["Platform"]
---

# PUT /roles/{id}

`PUT /roles/{id}`

PUT operation for /roles/{id}

## Path parameters

- `id` string, required

## Request body

- RoleSerializer
  - `id` integer
  - `name` string, required
  - `description` string
  - `created_at` string, date-time
  - `role_type` 'internal' | 'external', required
  - `order` integer
  - `created_by` string

## Response `200`

Successful response

- RoleSerializer
  - `id` integer
  - `name` string, required
  - `description` string
  - `created_at` string, date-time
  - `role_type` 'internal' | 'external', required
  - `order` integer
  - `created_by` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.dev/onboard/apis/onboard-api-complete-specification.md) · [All operations](https://skmtc.dev/onboard/apis/onboard-api-complete-specification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onboard/onboard-api-complete-specification/revisions/3d0f0a6a632d/schema)
