Unlock a password-protected share
POST/api/v1/shares/:id/unlock
Checks password against a password-protected share and, if it matches, remembers the share as unlocked in the caller's session. Returns an empty object.
Later requests from the same session (reading, previews, uploads, moves and deletes through /api/v1/files) then work without the 423 response. The unlock lasts as long as the session.
Anyone may call it, without a token. A wrong password, or a share that has no password, returns 401.
Request
Responses
- 200
- 400
- 401
- 404
Unlocked. Empty object.
Request failed.
Request failed.
Request failed.