Login

  • Auth
  • POST Logout

User Logout

This method allows you to log out of the application that is using the Auth service.

Resource

  • Production environment: https://auth.altravia.com/logout/
  • Testing environment: https://test.auth.altravia.com/logout/

Parameters

Property name Type Description
username string Email of the user who wants to log out.

Request examples

Response

Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
success boolean True or false.
domain string Domain from which the user logged out.
message string Contains error or success messages.
error int Contains the encoding of the error or NULL if successful.