1. API Description

This API is used to create one or more IPv6 CIDR blocks.



  • An IPv6 CIDR block contains 500 available IPs.

  • This API is an async API. A CIDR block ID list is returned after the creation request is sent. However, it does not mean the creation has been completed. The status of the CIDR block will be CREATING during the creation. You can use DescribeCidrBlocks to query the status of the CIDR block. If the status changes from Creating to Available, it means that the CIDR block has been created successfully; CREATE_FAILED means the CIDR block has been created failed. Any operations on the instances are not allowed while creating.

2. Input Parameters

The following request parameter list only provides API request parameters.

3. Output Parameters

4. Code Example

Create an IPv6 CIDR block example **** in IST-B, belonging to Default Resource Group.

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

  "zoneId": "ISB-B",
  "name": "example",
  "amount": 1

  "requestId": "T17BD4918-239C-4633-9F3A-9D2D5E0BA4E2",
  "response": {
    "requestId": "T17BD4918-239C-4633-9F3A-9D2D5E0BA4E2",
    "cidrBlockIds": [

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

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.​

Last updated