Unbinding an IP Address from an Endpoint
Function
This API is used to unbind an IP address from an endpoint.
URI
DELETE /v2.1/endpoints/{endpoint_id}/ipaddresses/{ipaddress_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| endpoint_id | Yes | String | Endpoint ID |
| ipaddress_id | Yes | String | IP address ID |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. The token can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
Status code: 202
| Parameter | Type | Description |
|---|---|---|
| endpoint | EndpointResp object | Endpoint |
| Parameter | Type | Description |
|---|---|---|
| id | String | Endpoint ID, which is a UUID used to identify the endpoint |
| name | String | Endpoint name |
| direction | String | Endpoint direction. The value can be: inbound: indicates an inbound endpoint. outbound: indicates an outbound endpoint. |
| status | String | Resource status |
| vpc_id | String | ID of the VPC to which the endpoint belongs |
| ipaddress_count | Integer | Number of IP addresses of the endpoint |
| resolver_rule_count | Integer | Number of endpoint rules in the endpoint. This parameter is returned only for outbound endpoints. |
| create_time | String | Creation time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS |
| update_time | String | Update time. Format: yyyy-MM-dd'T'HH:mm:ss.SSS |
Example Requests
None
Example Responses
Status code: 202
Request accepted
{
"endpoint" : {
"id" : "ff80808169be2efb0169bef85d720013",
"name" : "NULL",
"direction" : "inbound",
"status" : "ACTIVE",
"vpc_id" : "dd2a1ce7-fa36-48d1-b6ac-6623bc7c306b",
"ipaddress_count" : 3,
"resolver_rule_count" : 0,
"create_time" : "2019-03-27T11:45:41.724",
"update_time" : "2019-03-27T11:45:41.724"
}
} Status Codes
| Status Code | Description |
|---|---|
| 202 | Request accepted |
Error Codes
For details, see Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot