Skip to content

DataAPI SDK japanese MT.DataAPI Endpoint method revokeAuthentication

Taku AMANO edited this page Jul 5, 2013 · 8 revisions

revokeAuthentication

Invalidate current session. This is like logout.

DELETE https://your-host/your-mt-api.cgi/v1/authentication

パラメータ

パラメータ名 タイプ 必須 説明
callback Function no

Returns

XMLHttpRequest: A XMLHttpRequest object

api.revokeAuthentication(function(response) {
  if (response.error) {
    // Handle error
    return;
  }

  // Do stuff
});
Clone this wiki locally