POST /floating_ips
Create a Floating IP.
Provide the server
attribute to assign the Floating IP to that server or provide a home_location
to locate the Floating IP at. Note that the Floating IP can be assigned to a Server in any Location later on. For optimal routing it is advised to use the Floating IP in the same Location it was created in.
Servers
- https://api.hetzner.cloud/v1
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | No |
Name of the Resource. Must be unique per Project. |
description |
String | No |
Description of the Resource. |
labels |
Object | No |
User-defined labels ( |
home_location |
String | No |
Home Location for the Floating IP. Either the ID or the name of the Location. Only optional if no Server is provided. Routing is optimized for this Locations. |
type |
String | Yes |
Floating IP type Possible values:
|
server |
Integer | No |
Server the Floating IP is assigned to.
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.