Add IP to Port
POST/backend/api/openstack/ports/:ports_id/add_ip
Host: https://core.ocplanet.cloud
Add an IP address to the specified port in VPS. You may not have services or there may not be funds on your balance to complete this operation.
Request
- application/json
Body
- Array [
- ]
append_ip booleanrequired
device_id stringrequired
device_owner stringrequired
fixed_ips object[]required
subnet_id stringrequired
network stringrequired
project stringrequired
region stringrequired
subnet stringrequired
Responses
- 200
- 400
- 409
IP added
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
fixed_ips object[]required
ip_address string[]required
{
"fixed_ips": [
{
"ip_address": [
"string"
]
}
]
}
Unable to add ip
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail stringrequired
{
"detail": "string"
}
{
"detail": "Unable to add ip"
}
Loading...