lightnode
en
  • cn
  • en
  1. Instance
lightnode
en
  • cn
  • en
  • API Introduction
  • Authentication Overview
  • Instance
    • Create
      POST
    • Release
      POST
    • Stop
      POST
    • Start
      POST
    • Restart
      POST
    • Modify Password
      POST
    • Instance Details
      GET
    • Reinstall
      POST
  • Security Group
    • Security Group Query
      GET
  • Image
    • Image Query
      GET
  • Asynchronous Task
    • Query Async Task
      GET
  • SSH key
    • Key Pair Query
      GET
  1. Instance

Start

POST
https://openapi.lightnode.com/instance/start

API Introduction#

Start the cloud server based on the given cloud server ID.#

This is an asynchronous interface. After a request to start the cloud server is successfully issued, a processResult will be returned. Note that the server startup process is not completed immediately at this point. You need to check the execution status by calling the task query API to poll the processResult. A processResult status of SUCCESS indicates that the cloud server has started successfully.#

Request

Header Params

Body Params application/json

Example
{
    "ecsResourceUUID": "ecs-wr00007bgadt"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.lightnode.com/instance/start' \
--header 'x-open-token: test-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ecsResourceUUID": "ecs-wr00007bgadt"
}'

Responses

🟢202成功
application/json
Body

Example
{
    "asyncTaskUUID": "cm00007dyzmz",
    "httpStatus": 202,
    "rowCount": 0
}
Modified at 2025-09-24 07:44:26
Previous
Stop
Next
Restart
Built with