---
title: "Create a new role"
method: POST
path: "/Roles"
tags: ["Roles"]
---

# Create a new role

`POST /Roles`

## Request body

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

## 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/revisions/d8d7501dde48/schema)
