调用BatchDeleteCdnDomainConfig批量删除加速域名的配置。
接口说明
单次配置的域名数量不超过 50 个。
单用户调用频率:30 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cdn:BatchDeleteCdnDomainConfig |
delete |
*Domain
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DomainNames |
string |
是 |
需要删除配置的加速域名,多个用半角逗号(,)分隔,注意以下配置限制:
|
example.com,example.org |
| FunctionNames |
string |
是 |
需要删除的功能函数名称,多个用半角逗号(,)分隔,一次传入最多 50 个。更多功能名称,请参见域名配置功能参数。 |
referer_white_list_set,https_force |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
示例
正常返回示例
JSON格式
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 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. | 未开放JS规则,如有疑问,请提交工单咨询 |
| 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. | 存在后台定制规则或该配置的参数不合法,如有疑问,请提交工单咨询 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?