Unbinding EIPs in Batches
Function
This API is used to unbind EIPs in batches.
URI
PATCH /v2/{project_id}/batchpublicips
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| publicip_ids | Yes | Array of strings | EIP IDs |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| job_ids | Array of strings | Job ID. The netAPI needs to be called to view the job execution status. netAPI: /v1/{project_id}/jobs/{job_id} |
Example Request
/v2/{project_id}/batchpublicips
{
"publicip_ids" : [ "59e55560-4d2c-40d5-b757-0f5c97b701e4", "e83cae01-e68f-4627-84b3-d2d5c4c836bd" ]
} Example Response
Status code: 200
OK
{
"job_ids" : [ "ff8080828436722c0184cdb88e9200a5" ]
} Status Code
See Status Codes.
Error Code
See Error Codes.