Update a reserved IP

Update a reserved IP's name, reverse DNS name, billing term or tags. The address stays the same.

PATCH https://{availability_zone}.betterstackcloud.com/v1/reserved-ips/{id}
id string required

The ID of the reserved IP to update.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

name string or null

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

term string

The billing term. Defaults to monthly. A change applies at once, from monthly to annual or back. Possible values: monthly, annual.

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.

metadata object

Your own tags, as an object of string keys and values. An update replaces all tags, so an empty object removes them. Accepts any keys.

200 OK
{
  "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 updated 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.