code: func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
  	fqdn, value := dns01.GetRecord(domain, keyAuth)
  	zone, err := d.getHostedZoneInfo(fqdn)
  	if err != nil {
  		return err
  	}
  
  	// Get all TXT records for the specified domain.
  	resources, err := d.client.GetResourcesByType(zone.domainID, "TXT")
  	if err != nil {
  		return err
  	}
  
  	// Remove the specified resource, if it exists.
  	for _, resource := range resources {
  		if resource.Name == zone.resourceName && resource.Target == value {
  			resp, err := d.client.DeleteDomainResource(resource.DomainID, resource.ResourceID)
  			if err != nil {
  				return err
  			}
  
  			if resp.ResourceID != resource.ResourceID {
  				return errors.New("error deleting resource: resource IDs do not match")
  			}
  			break
  		}
  	}
  
  	return nil
  }
docs: // CleanUp removes the TXT record matching the specified parameters.