---
title: "Add a new role to the store"
method: POST
path: "/v1/roles.json"
tags: ["roles"]
---

# Add a new role to the store

`POST /v1/roles.json`

Created a role

## Query parameters

- `token` string, required

## Request body

- object
  - `name` string

## Response `200`

successful operation

- object
  - `id` integer

## Other responses

- `405` — Invalid input

---

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