variables
variables/{name}
Set a User Variable's value. Body is the raw new value (plain text, not JSON). Add ?persist=true to save it to config/variables.json so it survives an fppd restart; omitted or any other value means the variable is in-memory only.
post/api/variables/{name}
Query parameters
persistboolean
Persist the value to disk so it survives a restart.
Response
OK