Logout

All the following requests require a valid IDToken in the authentication header

Headers:

Authentication: Bearer {IDToken}

Logout API

GET

With a POST request to 

/auth/forgot_password/

The user identified buy the refresh token in the header named X-Refresh will be logged out and their token revoked. 

If everything goes well with the API will return

  • a status code of 204

Errors

Error Code 500

This error is used for general errors on our backend, if this occurs contact Arboair with the code, time of API request and (if given) the error reason as well

Error Code 400

This error describes an error with Cognito and will contain the reason in the response data. 

Some possible reasons are Too many attempt to log in, wrong password, etc.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us