Loading...

Knowledge Base

Delete an IPv4 Address (A) Record via API

When you want to remove an IPv4 Address (A) record from a domain using the API. This article explains the required parameters, optional hostname usage, API request format, and response details for deleting IPv4 records.

Deleting IPv4 Address Record

Description

Deletes an IPv4 Address (A) record.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
domain-nameStringRequiredDomain name for which you want to delete an IPv4 record
valueStringRequiredAn IPv4 address to be deleted
hostStringOptionalHostname of the record to be deleted. By default, IP address gets deleted for the domain name.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/dns/manage/delete-ipv4-record.json?auth-userid=0&api-key=key&domain-name=domain.com&host=www&value=0.0.0.0

Response

Returns Success as the status of the response if the record is deleted successfully or record does not exist.

In case of any error, an error key with error description (as value) will be returned.