关闭源站防护功能。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SiteId |
integer |
是 |
站点 ID,可通过调用 ListSites 接口获取。 |
123456**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
CB1A380B-09F0-41BB-A198-72F8FD6DA2FE |
示例
正常返回示例
JSON格式
{
"RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6DA2FE\n"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | FunctionArgError | Failed to check the configured function parameters. | 配置的功能参数检查失败 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 400 | InvalidParameter.Configs | Invalid parameter configurations. Check whether your feature configurations are in the valid format and comply with relevant requirements. | 配置参数错误,请检查站点功能设置项是否遵循规定格式及要求。 |
| 400 | OriginProtectionNotExist | The site is not configured with origin protection, so it cannot be modified or deleted. | 站点没有配置源站防护,所以不能对其进行修改或删除。 |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | 站点不存在,或者不属于你。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。