DeleteVodSpecificConfig - 删除域名配置

更新时间:
复制 MD 格式

调用本接口删除点播加速域名的配置。

接口说明

  • 目前服务地址仅支持:华东 2(上海)

  • 执行此操作会导致域名不可访问,建议您建议删除域名前到域名解析服务商处恢复域名 A 记录。

  • 删除域名调用成功后将删除本条点播域名的全部相关记录。如果您仅需要暂停使用该点播域名,推荐您使用停用加速域名接口。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

vod:DeleteVodSpecificConfig

delete

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

DomainName

string

点播加速域名。

www.example.com

ConfigId

string

配置 ID。

2317****

Env

string

删除配置的环境。取值:

  • online:生产环境

  • gray:模拟环境

online

返回参数

名称

类型

描述

示例值

object

RequestId

string

请求 ID。

04F0F334-1335-436C-****-6C044FE73368

示例

正常返回示例

JSON格式

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

错误码

HTTP status code

错误码

错误信息

描述

400 Invalid%s.ValueNotSupported FunctionName [%s] is not supported.
400 EdgeScriptCountExceedLimit The number of rules exceeds the default limit (1). To increase the limit, submit a ticket. 超过默认规则数量1条限制,如需提升数量,请提交工单咨询。
400 EdgeScripOptionsHasInnerConfig The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.
400 EdgeScriptGrammarNotSupport A background customization rule exists 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 %s
400 ConfigurationConflicts Failed to modify the parameter settings in the production environment because the parameter settings are different from those in the staging environment. Set parameters in the staging environment before you publish them to the production environment. 现在模拟环境的配置和生产环境配置不一致,无法直接修改生产环境配置。请您前往模拟环境完成您所需的配置,然后发布到生产环境进行覆盖。
400 GrayConfigIsNull You cannot delete all gary configurations. You can clear them by rolling back the simulation environment. 删空模拟环境下的规则并不能清空CDN节点上的配置,您可以通过回滚模拟环境来清空模拟环境下的配置。
403 ServiceBusy The specified Domain is configuring, please retry later
404 InvalidDomain.NotFound The domain provided does not belong to you.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情