メインコンテンツへスキップ
POST
/
users
/
terminate_sessions
cURL
curl -i -X POST "https://api.box.com/2.0/users/terminate_sessions" \
    -H "authorization: Bearer <ACCESS_TOKEN>" \
    -H "content-type: application/json" \
    -H "accept: application/json" \
    -d
  {
      user_ids: ["6178859178", "4824866571"]
      user_logins: ["user@example.com", "user2@example.com",]
  }
{
  "message": "Request is successful, please check the admin\nevents for the status of the job"
}

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ボディ

application/json
user_ids
string[]
必須

ユーザーIDのリスト。

:
["123456", "456789"]
user_logins
string[]
必須

ユーザーログインのリスト。

:
["user@sample.com", "user2@sample.com"]

レスポンス

リクエストのステータスに関するメッセージを返します。

終了ジョブステータスについて通知するメッセージ。

message
string

終了ジョブステータスの一意の識別子。

:

"Request is successful, please check the admin\nevents for the status of the job"