20.3. Locking PSM configuration from the RPC API

Accessing PSM using the RPC API locks certain components of PSM from other users, just like accessing PSM using the web interface or the console. Locking PSM via RPC can be performed either explicitly by calling the lockAcquire function, or implicitly when an operation requires the lock. In either case, ensure that your application verifies that the lock is received and properly handles if the component is locked by someone else (for example, because a user is accessing the component from the web interface).

For details on how locking works in PSM, see Section 4.2.2, Multiple users and locking.