POST
/
v1
/
teams
/
groups
/
users
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/users';

let options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"teamId":{"id":0},"addUsersToGroup":[{"groupId":{"id":0},"userIds":[{"id":"string"}]}]}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Bulk request to assign users to multiple team groups simultaneously, efficiently managing group memberships at scale.

Response

200
application/json

A successful response.

Response confirming the successful bulk addition of users to multiple team groups.