Remove users from teams in bulk
This endpoint removes multiple users from their respective teams in a single request. Each removal specifies the team ID and user ID. Use the Retrieve bulk team operation status endpoint to check the
description: "This endpoint removes multiple users from their respective teams in a single request. Each removal specifies the team ID and user ID. Use the Retrieve bulk team operation status endpoint to check the status of the operation."
Remove users from teams in bulk
This endpoint removes multiple users from their respective teams in a single request. Each removal specifies the team ID and user ID. Use the Retrieve bulk team operation status endpoint to check the status of the operation.
For accessing the API a valid JWT jwt must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
The bulk remove operation has been submitted. Use BulkTeamStatus to check progress.
Unique identifier for the bulk operation.
Success message for the operation.
BULK_OPERATION_SUBMITTEDPossible values: There was a problem with input.
Login failed or token not valid.
Access denied due to insufficient permissions.
An unexpected error response.
POST /v2/teams/bulk/remove-user HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"removeUsers": [
{
"teamId": "team-456",
"userId": "user-456"
}
]
}{
"bulkId": "text",
"message": "text",
"status": "BULK_OPERATION_SUBMITTED"
}
