DescribeSlrGrant

更新时间:
复制 MD 格式

Queries the authorization information of a service-linked role (SLR) for a user.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • en :

    English

  • zh :

    Chinese

zh

Response elements

Element

Type

Description

Example

object

UserType

string

The type of the account.

Valid values:

  • sub :

    RAM user

  • customer :

    Alibaba Cloud account

sub

RequestId

string

The ID of the request.

1BD3D277-AE2F-5609-893F-FF7A72A****

IsGranted

boolean

Indicates whether the authorization is successful.

Valid values:

  • true :

    Yes

  • false :

    No

true

Examples

Success response

JSON format

{
  "UserType": "sub",
  "RequestId": "1BD3D277-AE2F-5609-893F-FF7A72A****",
  "IsGranted": true
}

Error codes

See for a complete list.

Release notes

See Release Notes for a complete list.