signaloid-cli auth logout
Clear local authentication and sign out from Signaloid.
Synopsis
signaloid-cli auth logout
Description
The logout command removes authentication credentials from your local configuration. The behavior differs based on the authentication method:
- API key authentication: Removes the stored API key from config
- Email/password authentication: Logs out from the server AND clears local config
Examples
Basic Logout
signaloid-cli auth logout
Output:
✔ Logged out locally
Logout and Verify
#!/bin/bash
signaloid-cli auth logout
# Verify logout was successful
if ! signaloid-cli auth whoami > /dev/null 2>&1; then
echo "✓ Successfully logged out"
else
echo "