{ "opencollection": "1.0.0", "info": { "name": "Hetzner Cloud Actions Floating IP Actions API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Floating IP Actions", "type": "folder" }, "items": [ { "info": { "name": "List Actions", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/floating_ips/actions", "params": [ { "name": "id", "value": "", "type": "query", "description": "Filter the actions by ID. May be used multiple times.\n\nThe response will only contain actions matching the specified IDs.\n" }, { "name": "sort", "value": "", "type": "query", "description": "Sort actions by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n" }, { "name": "status", "value": "", "type": "query", "description": "Filter the actions by status. May be used multiple times.\n\nThe response will only contain actions matching the specified statuses.\n" }, { "name": "page", "value": "", "type": "query", "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Lists multiple [Actions](#tag/actions).\n\nUse the provided URI parameters to modify the result.\n" }, { "info": { "name": "Get an Action", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/floating_ips/actions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Action." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single [Action](#tag/actions).\n" }, { "info": { "name": "List Actions for a Floating IP", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." }, { "name": "sort", "value": "", "type": "query", "description": "Sort actions by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n" }, { "name": "status", "value": "", "type": "query", "description": "Filter the actions by status. May be used multiple times.\n\nThe response will only contain actions matching the specified statuses.\n" }, { "name": "page", "value": "", "type": "query", "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Lists [Actions](#tag/actions) for a [Floating IP](#tag/floating-ips).\n\nUse the provided URI parameters to modify the result.\n" }, { "info": { "name": "Assign a Floating IP to a Server", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions/assign", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Assigns a [Floating IP](#tag/floating-ips) to a [Server](#tag/servers).\n\n#### Operation specific errors\n\n| Status | Code | Description |\n| --- | --- | --- |\n| `422` | `floating_ip_assigned` | The [Floating IP](#tag/floating-ips) is already assigned |\n" }, { "info": { "name": "Change reverse DNS records for a Floating IP", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions/change_dns_ptr", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change the reverse DNS records for this [Floating IP](#tag/floating-ips).\n\nAllows to modify the PTR records set for the IP address.\n" }, { "info": { "name": "Change Floating IP Protection", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions/change_protection", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Changes the protection settings configured for the [Floating IP](#tag/floating-ips).\n" }, { "info": { "name": "Unassign a Floating IP", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions/unassign", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Unassigns a [Floating IP](#tag/floating-ips).\n\nResults in the IP being unreachable. Can be assigned to another resource again.\n" }, { "info": { "name": "Get an Action for a Floating IP", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/floating_ips/:id/actions/:action_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Floating IP." }, { "name": "action_id", "value": "", "type": "path", "description": "ID of the Action." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "**Deprecated**: This operation is deprecated, see our [changelog](https://docs.hetzner.cloud/changelog#2026-04-30-deprecate-get-resource-action-endpoints) for more details.\n\nReturns a specific [Action](#tag/actions) for a [Floating IP](#tag/floating-ips).\n" } ] } ], "bundled": true }