Create a new custom role with a defined set of permissions. Custom roles allow fine-grained access control beyond system roles.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Role name (will be uppercased) |
displayName | string | No | Human-readable display name |
description | string | No | Role description |
permissions | string[] | Yes | Array of permission IDs |
roles:create
Create a new custom role with a defined set of permissions. Custom roles allow fine-grained access control beyond system roles.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Role name (will be uppercased) |
displayName | string | No | Human-readable display name |
description | string | No | Role description |
permissions | string[] | Yes | Array of permission IDs |
roles:create