修改待处理运维事件的切换时间。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Ids | string | 是 | 目标待处理运维事件的ID。支持输入多个ID来批量修改切换时间,多个ID间用英文逗号(,)隔开。 说明 | 11111 |
SwitchTime | string | 是 | 后台将在指定时间点执行目标待处理运维事件所对应的操作。格式为 | 2021-07-09T22:00:00Z |
RegionId | string | 是 | 目标待处理运维事件所在地域的地域ID。 说明 | cn-hangzhou |
返回参数
示例
正常返回示例
JSON
格式
{
"Ids": "11111",
"RequestId": "7856CBE7-5BD0-4EE1-AC62-749392******"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | RequiredParam.NotFound | Required input param is not found. | - |
400 | TaskModifyError | Part of the tasks cannot be modified. | 部分任务无法修改,请先确认任务信息。 |
400 | SwitchTimeAfterDeadline | The switch time should be earlier than deadline. | 切换时间必须早于结束时间,请重新填写切换时间。 |
400 | StartTimeBeforeNow | The start time should not be earlier than the current time. | 开始时间不得早于当前时间,请重新填写开始时间。 |
403 | IncorrectTaskStatus | Certain task's status does not support this operation. | - |
访问错误中心查看更多错误码。