Skip to main content

skl logout

Clear the device token from state.db.

Synopsis​

skl logout

Flags​

None beyond the global flags.

What it writes​

Deletes meta.device_token from state.db. It also tries to delete the keyring entry left by skl versions before 0.2 and ignores any failure. It does not edit config.toml and does not revoke the device on the server. Revoke devices on the devices page.

Errors​

  • config: cannot resolve XDG config dir or config: cannot resolve XDG data dir when neither the XDG directories nor SKL_CONFIG_DIR and SKL_DATA_DIR resolve.