Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/aaa/team-groups/v1/%7Bgroup_id.id%7D/users';

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

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

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

group_id.id
integer
required

Body

application/json

Request to assign additional users to an existing team group, granting them the group's roles and scope permissions.

userIds
object[]

Response

Response confirming the successful addition of users to the specified team group.

teamId
object
I