Path parameters

  • id integer Required

    VPS ID number

Body Required

  • ips object

    The IPs you have access to and their current reverse dns mapping.

    Additional properties are allowed.

Body Required

  • ips object

    The IPs you have access to and their current reverse dns mapping.

    Additional properties are allowed.

Responses

  • 200

    Update VPS Reverse DNS response

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
POST /vps/{id}/reverse_dns
curl \
 --request POST 'https://my.interserver.net/apiv2/vps/{id}/reverse_dns' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"ips":{"1.2.3.4":"yourhost.com","1.2.3.5":"anotherhost.com"}}'
curl \
 --request POST 'https://my.interserver.net/apiv2/vps/{id}/reverse_dns' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form 'ips={"1.2.3.4":"yourhost.com","1.2.3.5":"anotherhost.com"}'
Request examples
{
  "ips": {
    "1.2.3.4": "yourhost.com",
    "1.2.3.5": "anotherhost.com"
  }
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}