Get a role by id.
Retrieves details for a specific role, including its name, description, scope, and associated permission sets.
Authentication
AuthorizationBearer
Bearer authentication
Path parameters
roleIdPath
The ID of the role
Response
Executed successfully.
name
The name of the role to create. Must be unique within the given scope.
description
A description of the role.
id
The ID of the role.
createdAt
The timestamp for when the role was created.
updatedAt
The timestamp for the last time the role was updated.
createdBy
Identifier of the user who created the role.
effectiveEnabled
Indicates whether the role is effectively enabled in the tenant. This reflects the role’s operational state after considering tenant-level configuration or restrictions. Default: true
permissions
scopeType
The type of scope where the role applies. Valid values: system, tenant
Allowed values:
scopeId
The ID of the scope where this role is defined.
enabled
Specifies whether the role is active. Default: true
permissionSets
The permission sets assigned to this role. Each item includes the UUID and name of the permission set.
kubernetesPermissions
Defines the Kubernetes cluster permissions associated with this role.
deprecated
Indicates whether the role is deprecated. When set to true, the role is considered deprecated and should not be used for new assignments.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error