How do I delete a variable?

I have created a variable.

When I type environment print my variable is printed to the console.

How do I delete this variable?

Thanks,

By disabling the script that creates it and restarting!
What have you tried? Drive-by shooting? :laughing:

To delete global_variable:

/system script environment remove [find name="global_variable"]

thank you