Skip to main content
POST
/
groups
/
terminate_sessions
cURL
curl -i -X POST "https://api.box.com/2.0/groups/terminate_sessions" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "content-type: application/json" \
     -H "accept: application/json" \
     -d
    {
    "group_ids": ["6178859178", "4824866571"],
    }
{
  "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
group_ids
string[]
required

A list of group IDs.

Example:
["123456", "456789"]

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"