PATCH /ips

Update IP information

Updates the DNS name for a specified IP address.

Request Body

addressstringRequired

The IP address to update (required)

dns_namestring

The new DNS name for the IP address

Response

200
400
successboolean
dataobject
addressstring
dns_namestring
familyobject
valueinteger

Request

curl -X PATCH "https://shield.royalehosting.net/api/v2/ips" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true,
  "data": {
    "address": "1.1.1.1/24",
    "dns_name": "hosted-by.royalehosting.net",
    "family": {
      "value": 4
    }
  }
}