アクセストークンを無効化する

アプリケーション権限またはクライアント権限のアクセストークンを無効化する

post/revoke

Request

  • Base URL
    https://auth.mimi.fd.ai/v2
  • URL
    https://auth.mimi.fd.ai/v2/revoke
  • Auth
    none required

Headers

Authorizationstring required

OAuth2 準拠の Bearer トークンとして発行された mimi のアクセストークン。実行したいサービスに対応するスコープを指定して発行したアクセストークンが必要。アクセストークンの取得方法についてはトークンの取得 または 認証/認可操作を参照。

Request body application/x-www-form-urlencoded

tokenstring required

アクセストークン

client_idstring required

アプリケーションIDのみ、もしくはアプリケーションID とクライアントID を組み合わせた文字列。認可タイプがアプリケーション権限の場合はアプリケーションID、クライアント権限の場合は半角コロンで区切り アプリケーションID:クライアントID とする。

client_secretstring required

アプリケーション またはクライアントシークレット

Response

200

codeinteger
errorstring
statusstring
progressinteger
kindstring
operationIdstring
selfLinkstring
targetLinkstring
startTimestampinteger
endTimestampinteger

Example response

{
  "code": 200,
  "status": "success",
  "progress": 100,
  "kind": "auth#operation#accesstoken#revoke",
  "operationId": "<operationId>",
  "selfLink": "https://auth.mimi.fd.ai/v2/operations/<operationId>",
  "startTimestamp": 1521526589,
  "endTimestamp": 1521526591
}

Changes

No recorded changes to this operation across all 1 revision of this API.