role_) or a role name.
Required permissions:
rbac.*.read_role(to read roles in any workspace)
See the API reference for the full HTTP endpoint documentation.
Usage
Flags
string
required
Role ID (starting with
role_) or role name to retrieve. Must be 1-128 characters. Returns complete role information including all assigned permissions.Global Flags
Examples
Output
Default output shows the request ID with latency, followed by the role details:--output=json, the full response envelope is returned: