PlatformRoleCreateRequest
A custom role to create via roles.create().
Properties¶
| Property | Type | Description |
|---|---|---|
actionsGrantedByRole |
string[] |
Fully qualified names of the actions the role grants (e.g. AUTHZ.ROLE.READ) — pick them from roles.getActions(). |
description |
string |
Human-readable description. |
name |
string |
Role name; must be unique in the organization. |
ownerServiceName? |
string |
Name of the service that owns the role. |
scopeType |
PlatformRoleScopeType |
Level the role applies at. |
tenantId? |
string |
Tenant the role belongs to, for tenant-scoped roles. |