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

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

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

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

description
string
externalId
string
groupId
object

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

groupType
enum<string>
Available options:
GROUP_TYPE_UNSPECIFIED,
GROUP_TYPE_OPEN,
GROUP_TYPE_CLOSED,
GROUP_TYPE_RESTRICTED
name
string
nextGenScopeId
string
roleUpdates
object

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

scopeFilters
object
userUpdates
object

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

Response

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

I