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

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

let options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"groupId":{"id":0},"name":"string","description":"string","externalId":"string","roleUpdates":{"roleIds":[{"id":0}]},"userUpdates":{"userIds":[{"id":"string"}]},"scopeFilters":{"subsystems":[{"term":"string","filterType":"FILTER_TYPE_UNSPECIFIED"}],"applications":[{"term":"string","filterType":"FILTER_TYPE_UNSPECIFIED"}]},"nextGenScopeId":"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

Request to modify an existing team group's details, including its name, description, roles, users, and scope settings.

Response

200
application/json

A successful response.

Response confirming the successful update of a team group's configuration.