All Products
Search
Document Center

Web Application Firewall:DescribeRoleAuthStatus

Last Updated:Mar 11, 2026

Queries the authorization status of the service-linked role for Web Application Firewall (WAF).

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

RegionId

string

No

The region in which the WAF instance resides. Valid values:

  • cn-hangzhou: the Chinese mainland.

  • ap-southeast-1: outside the Chinese mainland.

cn-hangzhou

ResourceManagerResourceGroupId

string

No

The ID of the Alibaba Cloud resource group.

rg-aekzhalsanv***

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

79ECBB08-079C-57C5-A676-***

AuthStatus

boolean

Indicates whether the service-linked role for WAF is authorized.

  • true: The service-linked role is authorized.

  • false: The service-linked role is not authorized.

true

Examples

Success response

JSON format

{
  "RequestId": "79ECBB08-079C-57C5-A676-***",
  "AuthStatus": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.