Skip to main content
Node.js
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.

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

groupId
TeamGroupId · object

This data structure represents the information associated with a team group.

name
string
description
string
externalId
string
roleUpdates
RoleUpdates · object

This data structure represents the information associated with an API key.

userUpdates
UserUpdates · object

This data structure represents the information associated with an API key.

scopeFilters
/ Scope filters are currently possible to be defined for subsystems and applications · object
nextGenScopeId
string

Response

A successful response.

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