Skip to main content
POST
/
network
/
reserved_ips
Create a new reserved IP
curl --request POST \
  --url https://api.cloud.onidel.com/network/reserved_ips \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "team_id": "<string>",
  "ip_type": "ipv4",
  "location": "<string>",
  "name": "<string>"
}'
{
  "rip_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ip_addr": "<string>"
}

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Body

application/json
location
string
required

Location name where the IP should be allocated

team_id
string

Team ID to create the reserved IP for. If not provided, uses the user's primary team

ip_type
enum<string>

IPv4 (/32) or IPv6 (/64) address

Available options:
ipv4,
ipv6
name
string

Custom name for the reserved IP (defaults to IP address if not provided)

Maximum length: 64

Response

Reserved IP successfully created

rip_id
string<uuid>
required

ID of the newly created reserved IP

ip_addr
string

Newly created reserved IP address