{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To initiate an action on a floating IP send a POST request to\n`/v2/floating_ips/$FLOATING_IP/actions`. In the JSON body to the request,\nset the `type` attribute to on of the supported action types:\n\n| Action     | Details\n|------------|--------\n| `assign`   | Assigns a floating IP to a Droplet\n| `unassign` | Unassign a floating IP from a Droplet\n","properties":{"path":{"type":"object","properties":{"floating_ip":{"type":"string","format":"ipv4","minimum":1,"examples":["45.55.96.47"],"description":"A floating IP address."}},"required":["floating_ip"],"additionalProperties":false},"body":{"anyOf":[{"$ref":"#/definitions/floating_ip_action_unassign"},{"$ref":"#/definitions/floating_ip_action_assign"}]}},"required":["path"],"additionalProperties":false,"definitions":{"floating_ip_action_unassign":{"allOf":[{"$ref":"#/definitions/floatingIPsAction"},{"type":"object","required":["type"]}]},"floating_ip_action_assign":{"allOf":[{"$ref":"#/definitions/floatingIPsAction"},{"type":"object","required":["type","droplet_id"],"properties":{"droplet_id":{"type":"integer","description":"The ID of the Droplet that the floating IP will be assigned to.","examples":[758604968]}}}]},"floatingIPsAction":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["assign","unassign"],"description":"The type of action to initiate for the floating IP."}}}}},"name":"Initiate a Floating IP Action","id":"digitalocean.floatingipsaction_post","example":{"path":{"floating_ip":"45.55.96.47"}},"maxRequests":1,"summary":false}}