Knowledge Base
Categories: DNS API
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.
Description
Deletes an IPv4 Address (A) record.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| domain-name | String | Required | Domain name for which you want to delete an IPv4 record |
| value | String | Required | An IPv4 address to be deleted |
| host | String | Optional | Hostname 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.
Did you find this article helpful?