Obtains role-based access control (RBAC) permissions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SubAccountUserId | string | Yes | The ID of a RAM user or RAM role. | 27852573609480**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "5A7C9E37-C171-584F-9A99-869B48C4196D",
"Permissions": [
{
"ParentId": "0",
"IsRamRole": "false",
"ResourceType": "cluster",
"RoleType": "custom",
"RoleName": "istio-admin",
"ResourceId": "c57b848115458460583a4260cb713****"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.