Skip to main content

Unset page variable

Use this action to clear a variable that was created using the Set Page Variable action.

Configuration​

ParameterDescriptionDefault
KeyName (string) of the page variable to clear—
DebounceTime in milliseconds to wait before executing the actionEmpty (no delay)
ToolJet - Action reference - Unset Page Variable

Triggering via RunJS​

await actions.unsetPageVariable('<variableName>');

variableName is the key of the variable that was provided while creating the variable.

info

For a full quick-reference of all actions' RunJS syntax, see Run Actions from RunJS.