ユーザーのロールと権限を検証し、ユーザーのセッションを終了させる非同期ジョブを作成します。POSTリクエストのステータスを返します。
["123456","456789"]
ユーザーIDのリスト
["user@sample.com","user2@sample.com"]
ユーザーログインのリスト
リクエストのステータスに関するメッセージを返します。
一部のパラメータが無効な場合にエラーを返します。
Users can not be NULL or EMPTY
: 値が指定されていない場合User id format is string
: 指定されたユーザーIDの形式が正しくない場合Supported payload format is JSON
: 指定されたペイロードの形式が正しくない場合権限が不足している場合にエラーを返します。
リソースが見つからなかった場合にエラーを返します。
レート制限を超えた場合にエラーを返します。
内部サーバーの問題が発生している場合にエラーを返します。
リクエストがタイムアウトした場合にエラーを返します。
予期しないクライアントエラー。
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"
}