cURL
curl --request POST \ --url https://api.cloud.onidel.com/network/reserved_ips/convert \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "ip_address": "127.0.0.1", "team_id": "<string>", "name": "<string>" } '
{ "reserved_ip": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "location": "<string>", "status": "active", "billing_cycle": 123, "renewal_date": "2023-11-07T05:31:56Z", "last_renewal": "2023-11-07T05:31:56Z", "recurring_amount": 123, "currency": "<string>", "total_billed": 123, "ip_addr": "127.0.0.1", "suspension_reason": "<string>", "attachment": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" } } }
Convert an existing VM’s primary public IP address into a reserved IP (floating IP)
Provide the value as: Token <your-api-token>
Token <your-api-token>
The VM's primary public IP address to convert
Team ID that owns the VM. If not provided, uses the user's primary team
Custom name for the reserved IP (defaults to IP address if not provided)
64
IP successfully converted to reserved IP
Show child attributes