Promote a reserved IP

Turn a public address that one of your servers already has into a reserved IP. The reserved IP belongs to the server's team. The address stays the same, so you keep it when you delete the server and your DNS records keep working.

POST https://{availability_zone}.betterstackcloud.com/v1/reserved-ips/promote
Authorization string required

Bearer $TOKEN

Content-Type string

application/json

ip string required

The address to turn into a reserved IP, such as 203.0.113.7. One of your servers must have it.

name string

The reserved IP's name, unique in the organization.

ptr_record string

The reverse DNS name for the address.

metadata object

Your own tags for the reserved IP, as an object of string keys and values. Accepts any keys.

201 Created
{
  "id": "example",
  "name": "Example reserved IP",
  "ip": "example",
  "type": "ipv4",
  "gateway": "example",
  "term": "monthly",
  "server_id": "123456789",
  "server": {
    "id": "example",
    "name": "Example",
    "status": "up"
  },
  "ptr_record": "example",
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z",
  "team_id": "t123",
  "metadata": {
    "example": "value"
  }
}

Returns the reserved IP.

id string

The reserved IP's ID, a UUID.

name string or null

The reserved IP's name, unique in the organization.

ip string

The IP address.

type string

Whether it's an IPv4 or an IPv6 address. Possible values: ipv4, ipv6.

gateway string or null

The gateway for the address, for when you configure the server's network yourself.

term string

The billing term. Defaults to monthly. Possible values: monthly, annual.

server_id string or null

The ID of the server the address is assigned to, or null when it isn't assigned. Assign and unassign the address to change it.

server object or null

The ID, name and status of the server the address is assigned to, or null when the address isn't assigned.

server.id string

The server's ID.

server.name string

The server's name.

server.status string

The server's status, such as running.

ptr_record string or null

The reverse DNS name for the address. When you send a ptr_record as you assign the address, that one is used while the address stays assigned.

created_at datetime

When the reserved IP was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the reserved IP was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the reserved IP. betterstack team list shows it.

metadata object

Your own tags, as an object of string keys and values.