All Products
Search
Document Center

Web Application Firewall:DescribeAccountDelegatedStatus

Last Updated:Apr 23, 2024

Queries whether an Alibaba Cloud account is the delegated administrator account of a Web Application Firewall (WAF) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the WAF instance.

Note You can call the DescribeInstance operation to query the ID of the WAF instance.
waf_cdnsdf3****
ResourceManagerResourceGroupIdstringNo

The ID of the Alibaba Cloud resource group.

rg-acfm***q
RegionIdstringNo

The region in which the WAF instance is deployed. Valid values:

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

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

8161375D-5958-5627-BFDE-DF14****3E87
DelegatedStatusboolean

Indicates whether the Alibaba Cloud account is the delegated administrator account of the WAF instance.

  • true
  • false
true
AccountNamestring

The name of the Alibaba Cloud account. This parameter is returned only if the account is the delegated administrator account.

account_test
AccountIdstring

The ID of the Alibaba Cloud account.

10***********34

Examples

Sample success responses

JSONformat

{
  "RequestId": "8161375D-5958-5627-BFDE-DF14****3E87",
  "DelegatedStatus": true,
  "AccountName": "account_test",
  "AccountId": "10***********34"
}

Error codes

For a list of error codes, visit the Service error codes.