UniFi Protect: Auth Logout
unifi_protect_auth_logoutClear the cached UniFi Protect session and delete its session file so the next call logs in again with the configured credentials. Use it after changing accounts or to remove the cookie from disk.
Instructions
Drop the cached session and delete the session file. The next call logs in again from the configured username and password, so this does not lock anything out — use it to clear a session after changing accounts, or to remove the cookie from disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Explicit acknowledgement that this changes the console's state. |