---
title: "Set PTR Records"
method: POST
path: "/set/ptr"
tags: ["PTR"]
---

# Set PTR Records

`POST /set/ptr`

This endpoint sets PTR (Reverse DNS) records for specified IP addresses.  
The `api_host` parameter, obtained from the **"Create AUTH-session"** response,  
is dynamically set in the URL.  
Provide the `signature`, `kvm_id`, `valid_until`, and a JSON-encoded object of IP addresses and their associated hostnames to set PTR records.

## Response `200`

PTR records set successfully.

- InlineResponse20020
  - `status` string — The status of the operation.
  - `message` string — Confirmation message for set PTR records.

## Other responses

- `400` — Bad Request - Missing or invalid parameters.
- `401` — Unauthorized - Invalid or expired session.
- `500` — Internal Server Error - An unexpected error occurred.

---

[API](https://skmtc.net/edisglobal/apis/edis-global-management-api.md) · [All operations](https://skmtc.net/edisglobal/apis/edis-global-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/edisglobal/edis-global-management-api/versions/223263c91ac0/schema)
