cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/availablefloatingips/{project_id}/{region_id} \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "created_at": "2023-11-07T05:31:56Z", "creator_task_id": "d1e1500b-e2be-40aa-9a4b-cc493fa1af30", "dns_domain": "string", "dns_name": "string", "fixed_ip_address": "192.168.10.15", "floating_ip_address": "172.24.4.34", "id": "c64e5db1-5f1f-43ec-a8d9-5090df85b82d", "port_id": "ee2402d0-f0cd-4503-9b75-69be1d11c5f1", "project_id": 123, "region": "<string>", "region_id": 123, "router_id": "11005a33-c5ac-4c96-ab6f-8f2827cc7da6", "status": "ACTIVE", "subnet_id": null, "tags": [ { "key": "<string>", "read_only": true, "value": "<string>" } ], "task_id": "a4eb4b29-048e-42f6-a5e1-2c18bc001c45", "updated_at": "2023-11-07T05:31:56Z" } ] }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
Region ID
List of floating IPs
Number of objects
x >= 0
1
Objects
Show child attributes
Was this page helpful?