All Products
Search
Document Center

CDN:ListDomainsByLogConfigId

Last Updated:Jul 05, 2024

Queries domain names by log configuration ID.

Operation description

Note You can call this operation up to 100 times per second per account.

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
ConfigIdstringYes

The ID of the custom configuration.

123

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

9732E117-8A37-49FD-A36F-ABBB87556CA7
Domainsarray

The domain names.

string

The domain name.

example.com

Examples

Sample success responses

JSONformat

{
  "RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
  "Domains": {
    "Domain": [
      "example.com"
    ]
  }
}

Error codes

HTTP status codeError codeError message
403InvalidConfigIdIllegal ConfigId
404Domains.NotFoundNo domain used in this log config

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

Change history

Change timeSummary of changesOperation
No change history