recordInfo="$(echo"$result"| sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g'| grep "${txtvalue}")"
recordID="$(echo"$recordInfo"| sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g'| grep "${txtvalue}"| sed -E 's,.*(zones)(.*),\1\2,g'| sed -E 's,^(.*"id":")([^"]*)"(.*)$,\2,g')"
#recordDomainID="$(echo "$recordInfo" | sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g' | grep "${txtvalue}" | sed -E 's,.*(zones)(.*),\1\2,g' | sed -E 's,^(.*"domain_id":")([^"]*)"(.*)$,\2,g')"
#recordName="$(echo "$recordInfo" | sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g' | grep "${txtvalue}" | sed -E 's,.*(zones)(.*),\1\2,g' | sed -E 's,^(.*"name":")([^"]*)"(.*)$,\2,g')"
recordInfo="$(echo"$result"| sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g'| grep "${txtvalue}")"
recordID="$(echo"$recordInfo"| sed -e 's/:{/:{\n/g' -e 's/},/\n},\n/g'| grep "${txtvalue}"| sed -E 's,.*(zones)(.*),\1\2,g'| sed -E 's,^(.*"id":")([^"]*)"(.*)$,\2,g')"
if[ -z "$recordID"];then
_info "Record $fulldomain TXT $txtvalue not found or already deleted"