The invalidation is achieved by invoking the HTTP GET request, with the URI:
/api/logout.
The token mentioned above is the password in the HTTP Basic authentication. (The user is ignored and can be empty.)
For every REST API request that does not require the
gatewayAdminPassword, the authentication is done by passing the token mentioned above as the password in the HTTP Basic authentication. (The user is ignored and can be empty.)
Requests that require the
gatewayAdminPassword work similarly, with these exceptions:
Instead of
/api/login, you should invoke an HTTP GET request,
/api/gatewayLogin, with
user: admin password: <gatewayAdminPassword> in HTTP Basic authentication. A token is returned.
Instead of invoking
/api/logout, invoke
/api/gatewayLogout with the token received when you logged in.
NOTE: Requests that require
gatewayAdminPassword are: