We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Invalidate current access token. This is not logout. If the browser has active session ID, new access token can be obtained easily.
if you want to invalidate current session (like doing logout), you should call revokeAuthentication.
DELETE https://your-host/your-mt-api.cgi/v1/token Detail
XMLHttpRequest: A XMLHttpRequest object
api.revokeToken(function(response) { if (response.error) { // Handle error return; } // Do stuff });