Is it possible to programatically create a lockable resource


Is it possible to create a lockable resource (Lockable Resources plugin) via API or CLI?

We´d like to create those resources on demand.

Thanks in advance.

As it happens, if you lock a resource and the name isn’t already pre-existing, then the plugin creates an ephemeral lock for you on the fly…