List PTR records for a dedicated server

GET/v1/hosts/dedicated_servers/{server_id}/ptr_records

If you need to get a list of all the PTR records for a specific server, send a GET request to /v1/hosts/dedicated_servers/{server_id}/ptr_records. An ID has to be specified in the path parameter.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

FieldDetails
server_id
string

A unique identifier of a server.

Query Parameters

FieldDetails
per_page?
integer

Default: 20

Range: 1–100

The number of results [ 1 .. 100 ] displayed on a page. By default, 20 results are shown.

page?
integer

Default: 1

Min: 1

The number of a page (>= 1) that will be returned. By default, it's 1.

sorting?
string

Value in: "id", "domain"

Default: "id"

This parameter sorts items. By default, it's id. You can sort by domain as well.

direction?
string

Value in: "ASC", "DESC"

Default: "ASC"

This parameter defines if items are sorted in an ascending ASC or descending DESC order. By default, ASC is set up.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/hosts/dedicated_servers/y1aKmJdQ/ptr_records"
[  {    "id": "BDbDxbl2",    "ip": "100.0.0.28",    "domain": "example-1319.com",    "priority": 27,    "ttl": 3600  }]