Deleting CNAME record
Loading...
When you want to remove a CNAME record from a domain using the API. This article explains the required parameters, API request format, and response details for deleting CNAME records.
Deletes a Canonical (CNAME) record.
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | our Live Account Reseller Id |
| api-key | String | Required | An alphanumeric code that can be used to authenticate your API calls |
| domain-name | String | Required | Domain name for which you want to delete a CNAME record |
| host | String | Required | Hostname of the record to be deleted |
| value | String | Required | A Fully Qualified Domain Name (FQDN) |
POST
https://test.httpapi.com/api/dns/manage/delete-cname-record.json?auth-userid=0&api-key=key&domain-name=domain.com&host=webmail&value=webmail.domain.com
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.
Loading...