---
title: "POST /workspaces/{idWorkspace}/roles"
method: POST
path: "/workspaces/{idWorkspace}/roles"
tags: ["workspaces"]
---

# POST /workspaces/{idWorkspace}/roles

`POST /workspaces/{idWorkspace}/roles`

## Request

- Base URL: `https://api.asters.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.asters.ai/workspaces/{idWorkspace}/roles`
- Auth: HTTP bearer

## Request body

- AddRoleDTO
  - `name` string, required
  - `description` string, required
  - `permissions` object[], required

## Response `201`

---

[API](https://skmtc.dev/asters/apis/asters-api.md) · [All operations](https://skmtc.dev/asters/apis/asters-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asters/apis/asters-api/revisions/119ec56a03a9?raw)
