Firewall rule enable with API

We need to change status for firewall rule with API.
In Docs I see that " paused
Returns true when the rule is not active. Use ref to enable/disable the rule." and "ref
A short string for tagging rules.".
But we don’t understand what is the ref and how we can use ref for enable/disable firewall rules.
Please help!