---
title: "Create a new role in the organization"
method: POST
path: "/v1/organizations/${id}/roles"
tags: ["Organization", "Role"]
---

# Create a new role in the organization

`POST /v1/organizations/${id}/roles`

Create a new role and assign it to the organization.

## Request body

- object
  - `name` string, required — Name of the role.
  - `description` string — Description of the role.

## Response `201`

Example response

- object
  - `id` string, required — ID of the newly created resource.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — The requested resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/opcotech/apis/elemo-api.md) · [All operations](https://skmtc.net/opcotech/apis/elemo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opcotech/elemo-api/versions/6ff580b1e226/schema)
