Skip to main content
Parameters Returns Description
  • Clears the unlocked record for this path in the current plugin session. If the path was previously unlocked via unlockPathWithPassword, calling this resets it back to the locked (not unlocked) state.
  • After calling this, getPathEncryptionStatus returns 1 for this path instead of 2, and subsequent file-related API calls on this exact path require unlocking again via unlockPathWithPassword if the path is still encrypted.
  • Has no effect on a path that is not encrypted.

Example