---
title: "Create Role"
method: POST
path: "/auth/roles"
tags: ["auth", "roles"]
---

# Create Role

`POST /auth/roles`

Create role

## Request body

- CreateOrUpdateRole
  - `name` string
  - `description` string
  - `scopes` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/keephq/apis/keep-api.md) · [All operations](https://skmtc.net/keephq/apis/keep-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keephq/keep-api/revisions/bb4a0896091f/schema)
