JQ Variable löschen

Use jq to delete a variable passed in from bash:
jq 'del(."'"$myvar"'")' test.json
Troubled Tapir