> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# トークンのグローバル失効

> Okta の Universal Logout を使用して、すべてのアプリケーションでユーザーのセッションクッキーとリフレッシュトークンを失効させます。

<div id="endpoint">
  ## エンドポイント
</div>

`POST /oauth/global-token-revocation/connection/{connection_name}`

このエンドポイントは、[Okta Workforce Identity Cloud Universal Logout](https://developer.okta.com/docs/guides/oin-universal-logout-overview/) と組み合わせて使用し、ユーザーをアプリケーションからログアウトさせます。このエンドポイントへのリクエストにより、セッションクッキーとリフレッシュトークンは失効しますが、アクセストークンは失効しません。詳しくは、[Universal Logout](https://auth0.com/docs/authenticate/login/logout/universal-logout) を参照してください。ユーザーセッションを失効させる前に、リクエストを認証する必要があります。[Endpoint Authentication](https://developer.okta.com/docs/guides/oin-universal-logout-overview/#endpoint-authentication) を確認してください。

<div id="path-parameters">
  ## パスパラメータ
</div>

<ParamField path="connection_name" type="string" required>
  ユーザーのセッションを無効にする対象の接続名。
</ParamField>

<div id="body-parameters">
  ## ボディパラメータ
</div>

<ParamField body="subject" type="object">
  <Expandable title="プロパティ">
    <ParamField body="format" type="string" required />

    <ParamField body="iss" type="string" required>
      発行者の URL (通常は認可サーバーの URL) 。
    </ParamField>

    <ParamField body="sub" type="string" required>
      サブジェクト識別子 (通常はユーザー識別子) 。
    </ParamField>
  </Expandable>
</ParamField>

<div id="response-messages">
  ## レスポンスメッセージ
</div>

| Status | Description                                          |
| ------ | ---------------------------------------------------- |
| 200    | セッションクッキー とリフレッシュトークンの失効に成功しました。                     |
| 400    | 不正なリクエストです。`subject` の形式が無効であるか、認証情報が不足している可能性があります。 |
| 401    | 認証されていません。認証に失敗しました。                                 |
| 500    | サーバー内部エラー。                                           |
