Checks whether a service-linked role is created for Security Center.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeServiceLinkedRoleStatus

The operation that you want to perform.

Set the value to DescribeServiceLinkedRoleStatus.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String 39CE98F4-88C0-4539-B906-6B542E5C07B9

The ID of the request.

RoleStatus Struct

The status information of the service-linked role.

Status Boolean true

The status of the service-linked role. Valid values:

  • true: The service-linked role is created.
  • false: The service-linked role is not created.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.