> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# グローバルトークンを取り消す

> このエンドポイントを[Okta Workforce Identity Cloud Universal...

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

このエンドポイントを[Okta Workforce Identity Cloud Universal Logout](https://developer.okta.com/docs/guides/oin-universal-logout-overview/)で使用して、ユーザーをアプリケーションからログアウトさせます。このエンドポイントへの要求は、セッションクッキーとリフレッシュトークンを取り消しますが、アクセストークンは取り消しません。詳細については、「[ユニバーサルログアウト](https://auth0.com/docs/ja-jp/authenticate/login/logout/universal-logout)」をお読みください。要求はユーザーセッションを取り消す前に認証されなければなりません。「[エンドポイント認証](https://developer.okta.com/docs/guides/oin-universal-logout-overview/#endpoint-authentication)」を参照してください。

## Parameters

<ParamField body="connection_name" type="string" required>
  ユーザーのセッションを取り消したい接続の名前です。
</ParamField>

<ParamField body="subject" type="object">
  発行者のURL（通常は認可サーバーのURL）です。
</ParamField>

<ParamField body="format" type="string" />

<ParamField body="iss" type="string">
  発行者のURL（通常は認可サーバーのURL）です。
</ParamField>

<ParamField body="sub" type="string">
  主題識別子（通常はユーザーの識別子）です。
</ParamField>

## Response

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