Edit default value of variable, by API

Hi,
I would like to know if I can edit programmaticaly, via API, a default value saved in a variable in WeWeb.

Is that possible ?

Hi @Matt :waving_hand:

You can programmatically change a variable’s value (for example from an API response) using a workflow on action like “Change variable value” at runtime, and you can reset it to its existing default with “Reset variable value”.

However, from what I understand, the default value configuration of the variable itself can’t be edited via API at the moment , it’s set in the editor and treated as read‑only at runtime.

1 Like