全部产品
Search
文档中心

边缘安全加速:UpdateOriginProtection - 修改源站防护功能

更新时间:Jan 30, 2026

修改源站防护功能,用来开启或关闭回源收敛。

调试

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

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

SiteId

integer

站点 ID,可通过调用 ListSites 接口获取。

123456****

OriginConverge

string

回源收敛开关

  • on:开启回源收敛。

  • off:关闭回源收敛。

on

AutoConfirmIPList

string

off

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

请求 ID。

4C6B5E5A-42FC-5DF2-986C-4DAAE3C55086

示例

正常返回示例

JSON格式

{
  "RequestId": "4C6B5E5A-42FC-5DF2-986C-4DAAE3C55086"
}

错误码

HTTP status code

错误码

错误信息

描述

400 ArgQuotaCheckFailed The passed-in parameter value failed to verify the validity of the plan. Please check the plan document to obtain the range of parameters that can be configured for the site plan. 当前套餐不支持配置受限参数,请检查输入的参数。
400 FunctionQuotaCheckFailed The quota verification for this function fails. It may be that the configuration of this function exceeds the limit of the site plan. Please check the plan introduction document corresponding to this site. 当前套餐不支持配置受限功能,请检查套餐相关的功能描述。
400 OriginProtectionNotExist The site is not configured with origin protection, so it cannot be modified or deleted. 站点没有配置源站防护,所以不能对其进行修改或删除。
400 FunctionArgConflict.OriginProtection The automatic enabling of the latest back-to-source IP list and the back-to-source convergence are mutually exclusive functions and cannot be enabled at the same time. 源站防护的自动启用最新回源 IP 列表与回源收敛是两个互斥的功能,无法同时开启。
400 FunctionArgError Failed to check the configured function parameters. 配置的功能参数检查失败
404 SiteNotFound The website does not exist or does not belong to you. 站点不存在,或者不属于你。

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

变更历史

更多信息,参考变更详情