code: func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
  	fqdn, _ := dns01.GetRecord(domain, keyAuth)
  
  	err := d.login()
  	if err != nil {
  		return err
  	}
  
  	viewID, err := d.lookupViewID(d.config.DNSView)
  	if err != nil {
  		return err
  	}
  
  	parentID, name, err := d.lookupParentZoneID(viewID, fqdn)
  	if err != nil {
  		return err
  	}
  
  	queryArgs := map[string]string{
  		"parentId": strconv.FormatUint(uint64(parentID), 10),
  		"name":     name,
  		"type":     txtType,
  	}
  
  	resp, err := d.sendRequest(http.MethodGet, "getEntityByName", nil, queryArgs)
  	if err != nil {
  		return err
  	}
  	defer resp.Body.Close()
  
  	var txtRec entityResponse
  	err = json.NewDecoder(resp.Body).Decode(&txtRec)
  	if err != nil {
  		return fmt.Errorf("bluecat: %v", err)
  	}
  	queryArgs = map[string]string{
  		"objectId": strconv.FormatUint(uint64(txtRec.ID), 10),
  	}
  
  	resp, err = d.sendRequest(http.MethodDelete, http.MethodDelete, nil, queryArgs)
  	if err != nil {
  		return err
  	}
  	defer resp.Body.Close()
  
  	err = d.deploy(parentID)
  	if err != nil {
  		return err
  	}
  
  	return d.logout()
  }
docs: // CleanUp removes the TXT record matching the specified parameters