Logging out
Logout via OAuth
Introduction
Once logged in via OAuth it is possible to log out.
- If you log out on the browser, all applications will be logged out.
- If you log out through a third-party integration, you will only be logged out of that specific application.
Deleting the token
- To log out, perform the following API call that deletes the access token and refresh token.
Note
The API call must be performed as a POST HTTP request.
curl --location --request POST 'https://auth.eagleeyenetworks.com/oauth2/revoke
?token=eRlciI6ImM&token_type_hint=access_token|refresh_token'\
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <clientid:clientsecrets>.base64()'\
Response:
HTTP 200 OK
Updated 3 months ago