This API call removes an A (IPv4 Address) record from a specified DNS zone. A records map a domain name to an IPv4 address, ensuring proper name resolution for internet and internal network services. Deleting an A record will prevent the domain from resolving to the specified IPv4 address, which may impact services relying on it. This API empowers administrators with precise control over DNS management, ensuring efficient handling of IPv4-based domain name resolution while minimizing disruptions.
Note:
Removing an A record can cause website or application downtime if it is the only record mapping the domain to an IP.If migrating to a new IP, consider updating the record instead of deleting it.
Changes to DNS records may take time to propagate depending on TTL settings.
Method: DELETE
https://{appconsole_IP}:{9443}/api/dns/zone/{zone_pk}/A/{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.6460.
* - Mandatory parameter.
Copied
{
"message":"Deleted successfully"
}