Unassign a reserved IP

Remove a reserved IP from its server and keep the reserved IP. The server must be running. The address is removed from the server before the response. The address a server booted with can't be unassigned, but it stays reserved when you delete the server.

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

The ID of the reserved IP to unassign.

Authorization string required

Bearer $TOKEN

202 Accepted
{
  "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.