IP addresses

Update PTR record

PATCH
/network/ips/{ip}/

Sets the reverse DNS (PTR) hostname for the IP address. Send an empty string to restore the default hostname. Requires permission (can_update_ptr, see the list endpoint). PTR TTL is always set to 3600 seconds.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

ip*string

IPv4 or IPv6 address assigned to one of your services (URL-encoded).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/network/ips/string/" \  -H "Content-Type: application/json" \  -d '{}'
{  "ip": "string",  "content": "string",  "comment": "string",  "can_update_ptr": true}