> ## 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    | 内部サーバーエラー。                                           |
