add account to rm function

pull/6117/head
Henning Reich 2024-11-26 12:29:07 +01:00
parent aacc26179e
commit 19e73f8889
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ dns_technitium_add() {
dns_technitium_rm() {
fulldomain=$1
txtvalue=$2
_Technitium_account
_info "Using Technitium"
response="$(_get "$Technitium_Server/api/zones/records/delete?token=$Technitium_Token&domain=$fulldomain&type=TXT&text=${txtvalue}")"
if _contains "$response" '"status":"ok"'; then