pem.deleteDNSRecord does not delete DNS records
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
I'm trying to delete a DNS record using POA API method pem.deleteDNSRecord
passing the record id, method returns
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><params><param><value><struct><member><name>status</name><value><i4>0</i4></value></member></struct></value></param></params></methodResponse>
But the record is not deleted.
Cause
You are trying to delete system
DNS record, pem.deleteDNSRecord
can remove only records created manually by the customer.
Resolution
Use pem.disableDNSRecord
to disable system
records.
If you are using DNS records in APS packages you may use pem.createDNSRecord
method instead of APS API to create a record, in this case it will be created as manual
.