CLI REST-API

lock

lock [option] [element]
The "lock" command locks an element.
NameValueDescriptionExample
timeoutsecondsset custom lock-timeout in seconds (default 300)300
element/configuration/network
See also:
unlock: unlocks an element.
show-locks: prints a list of locks.

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/lock

Example using curl:
curl -X PUT /api/lock