POST
/
set
/
ptr
curl --request POST \
  --url https://dns-api.edis.at/set/ptr \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_123456_789012 \
  --data valid_until=2025-01-12T15:30:00Z \
  --data api_host=dns-api.edisglobal.com \
  --data 'ip={
  "192.168.1.1": "hostname.example.com",
  "192.168.1.2": "another-host.example.com"
}'
{
  "status": "success",
  "message": "PTR records set successfully."
}

Body

application/x-www-form-urlencoded
Required parameters to set PTR records.
signature
string

The session signature obtained from the "Create AUTH-session" call.

Example:

"session_signature_12345"

kvm_id
string

The unique identifier of the KVM to set PTR records for.

Example:

"kvm_123456_789012"

valid_until
string

The expiration timestamp of the session obtained from the "Create AUTH-session" call.

Example:

"2025-01-12T15:30:00Z"

api_host
string

The API host URL obtained from the "Create AUTH-session" call.

Example:

"dns-api.edisglobal.com"

ip
object

A JSON-encoded object of IP addresses and their associated hostnames.

Example:
{
  "192.168.1.1": "hostname.example.com",
  "192.168.1.2": "another-host.example.com"
}

Response

200
application/json
PTR records set successfully.
status
string

The status of the operation.

Example:

"success"

message
string

Confirmation message for set PTR records.

Example:

"PTR records set successfully."