メインコンテンツへスキップ
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"
}
このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

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

Body

application/json
user_ids
string[]
required

ユーザーIDのリスト。

Example:
["123456", "456789"]
user_logins
string[]
required

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

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

Response

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

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

message
string

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

Example:

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