Deletes configurations of multiple accelerated domain names at a time.

Note
  • You can configure features for at most 50 domain names in each API call.
  • The maximum number of times that each user can call this operation per second is 30.

Debugging

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 BatchDeleteCdnDomainConfig

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

DomainNames String Yes example.com,example.org

The accelerated domain names whose configurations you want to delete. Separate accelerated domain names with commas (,).

FunctionNames String Yes referer_white_list_set,https_force

The names of the features that you want to manage. Separate feature names with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

http(s)://cdn.aliyuncs.com/?Action=BatchDeleteCdnDomainConfig
&DomainNames=example.com,example.org
&FunctionNames=referer_white_list_set,https_force
&<Common request parameters>

Sample success responses

XML format

<BatchDeleteCdnDomainConfigResponse>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</BatchDeleteCdnDomainConfigResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HttpCode Error code Error message Description
400 Invalid%s.ValueNotSupported FunctionName [%s] is not supported. The error message returned because the value of FunctionName is not supported.
400 DeleteFunctionFailed Batch delete functions failed. The error message returned because the system failed to delete the configurations of the specified accelerated domain names.

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