删除已创建的自定义响应页面。当一个自定义的响应页面不再需要时,用户可以调用此接口来将其从系统中移除。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:DeletePage |
delete |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Id |
integer |
是 |
自定义响应页面的 ID,可通过调用 ListPages 接口获取。 |
50000001 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
36af3fcc-43d0-441c-86b1-428951dc8225 |
| Id |
integer |
自定义响应页面的 ID,可通过调用 ListPages 接口获取。 |
50000001 |
示例
正常返回示例
JSON格式
{
"RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225",
"Id": 50000001
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 输入参数规范校验失败。 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 403 | Page.BeingBound | Failed to delete the custom error page because it has been associated with one or more rules. Dissociate all rules from the error page first. | 指定的自定义错误页面无法删除,因为它当前正被系统中的一个或多个规则所绑定。在可以删除之前,需要先将错误页面与所有相关的规则解绑。请先审查规则配置,然后解除与错误页面的关联,再尝试删除,以确保系统的一致性和可靠的错误处理。 |
| 403 | Page.NotExist | The specified custom error page does not exist or is not recognized by the system.Check whether the error page identifier is correct and matches an error page that has been created and registered in the system's error handling framework.If you want to create a new error page, make sure that the creation process is complete. | 指定的自定义错误页面不存在,或者未被系统识别。请确保错误页面的标识符是正确的,并且该页面已经被妥善地在系统的错误处理框架中创建和注册。如果打算新增一个错误页面,请验证创建过程是否已成功完成。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。