ModifyPrivateConnectsAttribute

1. API Description

This API is used to modify information of one or more Layer 2 private connects, including names.

Note

If any of the private connect IDs does not exist, the operation will fail immediately. Information of other private connects will not be modified.

2. Input Parameters

The following request parameter list only provides API request parameters.

3. Output Parameters

4. Code Example

Modify names of private connects.

POST /api/v2/sdn HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: ModifyPrivateConnectsAttribute
<Common Request Params>

Request:
{
    "privateConnectIds": ["your-private-connect-id"],
    "privateConnectName": "Seoul-Singapore-Connect"
}

Response:
{   
  "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 Code

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

Last updated