UnbindCidrBlockIps
1. API Description
This API is used to unbind one or more CIDR block IPs from instances.
2. Input Parameters
The following request parameter list only provides API request parameters.
cidrBlockId
Yes
String
ID of the CIDR block.
You can find the cidrBlockId
in the response by calling DescribeCidrBlocks
.
ipList
Yes
String
List of IPs to be unassigned.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4. Code Example
Unassign a CIDR block IP from the instance.
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.
403
OPERATION_DENIED_IP_NOT_BELONG
IP to be unassigned does not belong to the CIDR block.
403
OPERATION_DENIED_INVALID_STATUS
IP status not supported.
403
OPERATION_DENIED_CIDRBLOCK_RECYCLED
Operations on CIDR block in recycle bin are not supported.
403
OPERATION_DENIED_SERVER_EXIST_IPV6
An IPv6 CIDR already assigned to the instance.
Last updated