GoDaddy remove endpoint support #3

Open
opened 2021-10-22 13:18:18 +00:00 by Ghost · 0 comments

GoDaddy now supports remove record endpoint. So remove method can be simplified to this:

function (data) {
  var ch = data.challenge;

  // Use new endpoint for deleting a single DNS record of a domain
  return api(
    "DELETE",
    "/domains/" + ch.dnsZone + "/records/TXT/" + ch.dnsPrefix
  ).then(function (records) {
    return null;
  });
}
GoDaddy now supports remove record endpoint. So remove method can be simplified to this: ```javascript function (data) { var ch = data.challenge; // Use new endpoint for deleting a single DNS record of a domain return api( "DELETE", "/domains/" + ch.dnsZone + "/records/TXT/" + ch.dnsPrefix ).then(function (records) { return null; }); } ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/acme-dns-01-godaddy.js#3
No description provided.