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

Release

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

API Introduction#

Delete cloud servers based on the specified cloud server ID list.#

This is an asynchronous API. After a cloud server deletion request is successfully submitted, it returns processResult. The cloud server deletion is not immediately completed. You need to query the processResult execution status. When the processResult status is SUCCESS, it indicates that the cloud server has been successfully deleted.#

Request

Header Params

Body Params application/json

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

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/release' \
--header 'x-open-token: test-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ecsResourceUUID": "ecs-h100007as91a"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "asyncTaskInfo": {
        "asyncTaskUUID": "cm00007dyzds",
        "ecsResourceUUID": "ecs-lg00007dyz7g"
    },
    "httpStatus": 202,
    "rowCount": 0
}
Modified at 2025-09-24 07:41:24
Previous
Create
Next
Stop
Built with