# Authentication ## Log out user - [POST /logout](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/authentication/logoutuser.md): Terminates the current user's session and logs them out of the system. ## Forcefully terminate a user session - [POST /kick/{userId}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/authentication/kickuser.md): Ends the session of the specified user. ## Forcefully terminate the longest active user session - [POST /kick](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/authentication/kicklongestsessionuser.md): Ends the session of the user who has been logged in the longest, forcing them to log in again. ## Get Password Policy - [GET /password-policy](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/authentication/getpasswordpolicy.md): Retrieves the current Cognito password policy. ## Update Password Policy - [PUT /password-policy](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/authentication/updatepasswordpolicy.md): Updates the Cognito password policy. ## Get Password Policy - [GET /password-policy](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/password-policy/getpasswordpolicy.md): Retrieves the current Cognito password policy. ## Update Password Policy - [PUT /password-policy](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/password-policy/updatepasswordpolicy.md): Updates the Cognito password policy.