Is it possible to programatically create a lockable resource

Hello.

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…

image