This API call deletes a PTR (Pointer) record under a specified DNS zone. PTR records are used in reverse DNS lookups, mapping an IP address to a domain name. They are crucial for verifying the authenticity of mail servers, ensuring email deliverability, and improving network security by validating IP-to-hostname associations. This API provides a safe and structured way for administrators to remove outdated or incorrect PTR records, ensuring accurate reverse DNS mappings, improved email security, and better network reputation.
Note: PTR records are critical for mail servers. Deleting a PTR record without updating the corresponding A record may result in failed email authentication checks, affecting email deliverability. Ensure a valid PTR replacement is configured before deletion, especially for mail servers, VPN gateways, and other essential network services.
Method: DELETE
https://{appconsole_IP}:{9443}/api/dns/zone/{zone_pk}/PTR/{pk}/
The following headers must be included in the API request for successful authentication and data submission:
Authorization: DDI Central's OAuth implementation uses the Bearer authentication scheme. Hence, while making API calls, access_token obtained via the OAuth 2.0 Client Credentials Grant must be included in the Authorization header of API requests. This token verifies the client’s identity and ensures appropriate permissions for accessing resources.
The Authorization Header follows the format below:
headers = { "Authorization": "Bearer {bearer_tk}" }
Content-Type: Required in the header to indicate the media type of the resource being sent. It helps the server at the receiving end understand how to process the transmitted request body.
The Content-Type Header follows the format below:
headers ={ "Content-Type": "application/json" }
5867.10809.
* - Mandatory parameter.
Copied
{
"message":"Deleted successfully"
}