Skip to content

DataAPI SDK japanese MT.DataAPI Endpoint method revokeAuthentication

Taku AMANO edited this page Aug 28, 2013 · 8 revisions

revokeAuthentication

セッションを破棄します。このメソッドはいわゆる「ログアウト」に相当する処理を行います。

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

パラメータ

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

戻り値

XMLHttpRequest: XMLHttpRequestオブジェクト

api.revokeAuthentication(function(response) {
  if (response.error) {
    // エラー処理
    return;
  }

  // レスポンスデータを使った処理
});
Clone this wiki locally