Checks whether Anti-DDoS Origin is authorized to access Log Service.


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 CheckAccessLogAuth

The operation that you want to perform. Set the value to CheckAccessLogAuth.

RegionId String No cn-hangzhou

The ID of the region where the Anti-DDoS Origin instance resides.

For more information about the valid values of this parameter, see Regions and zones.

ResourceGroupId String No rg-acfm2pz25js****

The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.

For more information about resource groups, see Create a resource group.

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
AccessLogAuth Boolean true

Indicates whether Anti-DDoS Origin was authorized to access Log Service. Valid values:

  • true: Anti-DDoS Origin was authorized.
  • false: Anti-DDoS Origin was not authorized.
RequestId String 864FE2F4-CB2E-4024-B9EF-D59FD08ABD41

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "864FE2F4-CB2E-4024-B9EF-D59FD08ABD41",
  "AccessLogAuth": true

Error codes

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