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

# POST /roles/

`POST /roles/`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/roles/`
- Auth: API key in header `Authorization`

## Request body

- AddRoleParameters
  - `id` integer
  - `name` string
  - `description` string
  - `is_admin` boolean

## Response `200`

Request fulfilled, document follows

- DetailedRoleSchema
  - `id` integer
  - `name` string
  - `description` string
  - `is_admin` boolean

## Other responses

- `403`: Request forbidden -- authorization will not help
- `409`: Request conflict
- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
