RebootECS

Updated at:

Reboot ECS instances in a cluster.

Operation description

This operation is asynchronous. The instance does not reboot immediately. After a successful call, the instance enters the Rebooting state. The reboot is complete when the instance status changes to Running.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /webapi/event/rebootEcs HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RebootTime

integer

No

The reboot time for the instance.

1772076782

EventId

string

No

The system event ID.

8c96a3fc8a0d4a48b5db5fdb9742fbbc

InstanceId

string

No

The instance ID.

c-b25e21e24388****

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

32A44F0D-BFF6-5664-999A-218BBDE7****

Success

boolean

Indicates whether the request succeeded.

True

Total

integer

The total number of instances.

100

ErrCode

string

The error code.

InvalidParams

ErrMessage

string

The error message.

Invalid params: [instance not exists].

Data

boolean

Indicates whether the reboot succeeded.

true

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "32A44F0D-BFF6-5664-999A-218BBDE7****",
  "Success": true,
  "Total": 100,
  "ErrCode": "InvalidParams",
  "ErrMessage": "Invalid params: [instance not exists].",
  "Data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.