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

# Create a Role

`POST /roles`

Create a new [IAM](https://docs.scalr.io/docs/identity-and-access-management) role.

## Query parameters

- `include` string[]

## Response `201`

Successfully created.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — Account not found or user unauthorized.
- `422` — Malformed request body (missing attributes, wrong types, etc.).
- `4XX` — Client error.
- `5XX` — Server error.

---

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