1. API Description

This API is used to release a Layer 3 cloud router.


  • This operation is irreversible. Once the operation is successful, the cloud router will be completely released. Please operate with caution.

  • Only operations on cloud routers in state of RECYCLED are supported, that is you have called DeleteCloudRouter to delete the cloud router already.

  • This API is an async API. A request ID is returned after the release request is sent. However, it does not mean the releasing has been completed. The status of the cloud router will be DESTROYING during the releasing. If no result can be queried, it means that the cloud router has been released successfully.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter NameRequiredTypeDescription




Cloud router ID.

3. Output Parameters

Parameter NameTypeDescription



The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Code Example

Release a Layer 3 cloud router.

POST /api/v2/sdn HTTP/1.1
Content-Type: application/json
X-ZC-Action: DestroyCloudRouter
<Common Request Params>

    "cloudRouterId": "your-cloud-router-id"

  "requestId": "T98044459-95B2-477E-9A2F-00253A70CC6E",
  "response": {
     "requestId": "T98044459-95B2-477E-9A2F-00253A70CC6E"

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

No error codes related to the API business logic. For other error codes, see Common Error Codes.​

Last updated