Logging Out

The logout call requires that the caller has equal or greater permissions than the user they are logging out.

Examples

If a user wants to logout, they can pass their authorized token in the following call:
https://192.168.2.1/api/logout?token=ABCDEF1234567890ABCDEF12345678

To logout another user, a user with equal or greater permissions can use their token to authorize the call:
https://192.168.2.1/api/logout?logoutUser=guest&token=ABCDEF1234567890ABCDEF12345678

Pass credentials with the logout command to authorize the logout call of another user:
https://192.168.2.1/api/logout?username=admin&password=admin&logoutUser=guest