弹性云服务器 ECS-修改云服务器定时删除时间:请求示例

时间:2024-06-12 17:57:02

请求示例

  • 设置云服务器的定时删除时间为“2020-09-25T12:05:00Z”。
    POST  https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/actions/update-auto-terminate-time
    
    {
        "auto_terminate_time": "2020-09-25T12:05:00Z",
    }
  • 取消云服务器的定时删除。
    POST  https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/actions/update-auto-terminate-time
    
    {
        "auto_terminate_time": "",
    }
support.huaweicloud.com/api-ecs/ecs_02_0290.html