systemctl unset-environment
linux
Unset one or more service manager environment variables. This undoes the effect of `systemctl set-environment`.
More info →Examples (3)
Unset a single environment variable
Unset multiple environment variables at once
systemctl unset-environment var1 var2 ...Unset an environment variable in the user service manager
systemctl unset-environment var --usermade by @shridhargupta | data from tldr-pages