BatchDeleteCdnDomainConfig_内容分发_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • 单次配置的域名数量不超过 50 个。
  • 单用户调用频率:30 次/秒。

流控信息

请求速率为5/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
cdn:BatchDeleteCdnDomainConfig
Delete
Domain
acs:cdn:*:{#accountId}:domain/{#DomainNames}

请求参数

字段名称字段详情
DomainNamesstring

需要删除配置的加速域名,多个用半角逗号(,)分隔,注意以下配置限制:展开详情

示例值:example.com,example.org参考取值来源:
    DescribeDomainUvData
    ListRealtimeLogDeliveryDomains
    BatchSetCdnDomainConfig
    SetCdnDomainStagingConfig
FunctionNamesstring

需要删除的功能函数名称,多个用半角逗号(,)分隔,一次传入最多 50 个。更多功能名称,请参见域名配置功能参数

示例值:referer_white_list_set,https_force

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:04F0F334-1335-436C-A1D7-6C044FE73368

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
Invalid%s.ValueNotSupported
FunctionName [%s] is not supported.诊断
400
DeleteFunctionFailed
Batch delete functions failed.诊断
400
EdgeScriptCountExceedLimit
The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.诊断
400
EdgeScripOptionsHasInnerConfig
The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.诊断
400
EdgeScriptNotSupportJs
JavaScript rules are not supported. For more information, submit a ticket.诊断
400
InvalidRule.Malformed
Check rules error: %s诊断
400
EdgeScriptGrammarNotSupport
A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.诊断

变更历史

变更时间变更内容概要操作
2023-05-09
变更错误码400

相关示例

查询用户名下已删除的域名示例
2021-12-17