Unassign a Floating IP
- Name
- post
- Type
- /v1/floating_ips/:address
- Description
- Send POST request to unassign floating ip from stacklet. 
 
Required Attributes
- Name
- action
- Type
- string
- Description
- Action needed for this tasks is - unassign.
 
Example
curl -X POST "https://api.simplystack.com/v1/floating_ips/192.168.1.241" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
  -d '{"action": "unassign"}'Response
JSON object with key named floating_ip which is an array of the following attributes for the Floating IP object:
Attributes
Example
json
{
  "floating_ip": {
    "address": "192.168.1.241",
    "region": {
      "available": true,
      "features": ["floating_ips"],
      "name": "Frankfurt",
      "slug": "fra"
    },
    "task": {
      "id": 1,
      "name": "unassign",
      "description": {
        "completed": "Floating IP was assigned to a Stacklet.",
        "progress": "Assigning Floating IP to a Stacklet."
      }
    },
    "stacklet": null
  }
}