POST
/
v1
/
teams
/
groups
/
{groupId.id}
/
users
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/%7BgroupId.id%7D/users';

let options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"groupId":{},"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

groupId.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.

Response

200
application/json

A successful response.

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