---
title: "Create Admin Role"
method: POST
path: "/api/v1/admin/roles"
tags: ["Admin Roles"]
---

# Create Admin Role

`POST /api/v1/admin/roles`

## Request body

- object
  - `name` string, required
  - `description` string, nullable
  - `permissions` string[], required

## Response `200`

Created

- object — Created
  - `success` boolean, required
  - `data` object, required

## Other responses

- `400` — Validation failed or role name already exists
- `403` — Insufficient permissions

---

[API](https://skmtc.dev/newapi/apis/qn-platform-api.md) · [All operations](https://skmtc.dev/newapi/apis/qn-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newapi/qn-platform-api/revisions/d61f11e363ff/schema)
