drive_auth_logout
Log out of Proton Drive by clearing the stored session from the OS keychain. Prevents session persistence on shared machines.
Instructions
Clear the stored Proton Drive session from the OS keychain. After logout all file and sharing operations will fail until the user runs proton-drive auth login again. Use on shared machines to prevent session persistence. Do not call during an active workflow — it will break all subsequent drive_* calls. Idempotent: safe to call even if already logged out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||