IP addresses

Update PTR record

PATCH
/api/network/ips/{ip}/

Sets the reverse DNS (PTR) hostname for the IP address. 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 address assigned to one of your services.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

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