Skip to main content
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: ["[email protected]", "[email protected]",]
  }
{
  "message": "Request is successful, please check the admin\nevents for the status of the job"
}
This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.Learn more about Box SDK versioning strategy.

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

A list of user IDs.

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

A list of user logins.

Response

Returns a message about the request status.

A message informing about the termination job status.

message
string

The unique identifier for the termination job status.

Example:

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