---
title: "Update an existing role"
method: PUT
path: "/Roles/{id}"
tags: ["Roles"]
---

# Update an existing role

`PUT /Roles/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateRoleRequest
  - `name` string, nullable
  - `description` string, nullable
  - `permissions` string[], nullable
  - `minStaff` union
    - integer
    - string, int32
  - `maxStaff` union
    - integer
    - string, int32
  - `isPrimaryProvider` boolean, nullable
  - `canPrescribe` boolean, nullable
  - `requiresTimeTracking` boolean, nullable

## Response `200`

OK

- RoleResponseDto
  - `id` string
  - `name` string
  - `description` string, nullable
  - `isSystemRole` boolean
  - `permissions` string[]
  - `minStaff` union
    - integer
    - string, int32
  - `maxStaff` union
    - integer
    - string, int32
  - `isPrimaryProvider` boolean
  - `canPrescribe` boolean
  - `requiresTimeTracking` boolean
  - `createdAt` string, date-time
  - `updatedAt` string, date-time, nullable

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
