All Products
Search
Document Center

ENS:RestartDeviceInstance

Last Updated:Mar 12, 2024

Restarts applications deployed on an instance and returns the restart results in a synchronous manner.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringYes

The ID of the application. To obtain the application ID, call the ListApplications operation. For more information, see the API documentation of ListApplications.

f829265e-2f6f-4088-a4be-c1fb95ab45f9
InstanceIdstringYes

The ID of the instance.

i-5slvdwcxf6ch81nl4r7p04j5q

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

388AA3AE-CE49-5FF4-8CF5-A03D2BBA1C9A

Examples

Sample success responses

JSONformat

{
  "RequestId": "388AA3AE-CE49-5FF4-8CF5-A03D2BBA1C9A"
}

Error codes

HTTP status codeError codeError message
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history