---
title: "POST /roles"
method: POST
path: "/roles"
tags: ["users-permissions"]
---

# POST /roles

`POST /roles`

## Request body

- object
  - `name` string, required
  - `description` string
  - `type` string, required
  - `permissions` object

## Response `200`

OK

- object
  - `ok` boolean, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/pofk/apis/okiddyapi.md) · [All operations](https://skmtc.net/pofk/apis/okiddyapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pofk/okiddyapi/versions/f59c4927d820/schema)
