unifi_protect_auth_logout
Clear the cached UniFi Protect session and delete the session file, forcing a fresh login on the next call. Use after changing accounts or to remove the stored cookie.
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. |