Log out and revoke the session

setup & auth

// what it does

Invalidates the cached CLI session and removes it from disk. Use it when leaving a shared machine or before switching to a different PlanetScale account.

// shell

$ pscale auth logout

// gotcha

Logging out doesn't touch service tokens or branch passwords/roles you've created — those keep working until you delete them explicitly.

// resources