Queries the authorization information of a service-linked role (SLR) for a user.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
113.225.22.XXX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| UserType |
string |
The type of the account. Valid values:
|
sub |
| RequestId |
string |
The ID of the request. |
1BD3D277-AE2F-5609-893F-FF7A72A**** |
| IsGranted |
boolean |
Indicates whether the authorization is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"UserType": "sub",
"RequestId": "1BD3D277-AE2F-5609-893F-FF7A72A****",
"IsGranted": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.