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.
Parameter Name | Required | Type | Description |
---|---|---|---|
privateConnectIds | Yes | Array of String | Private connect ID list. You can query up to 100 IDs in each request. |
privateConnectName | Yes | String | Private connect name. Up to 255 characters in length are allowed. |
3. Output Parameters
Parameter Name | Type | Description |
---|---|---|
requestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
4. Code Example
Modify names of private connects.
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.
HTTP Status Code | Error Code | Description |
---|---|---|
404 | INVALID_PRIVATE_CONNECT_NOT_FOUND | Private connect does not exist. |
Last updated