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));{}No description available
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));{}API key authentication
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.
Show child attributes
Show child attributes
/ The filter term to use as a matching reference.
FILTER_TYPE_UNSPECIFIED, FILTER_TYPE_STARTS_WITH, FILTER_TYPE_ENDS_WITH, FILTER_TYPE_CONTAINS, FILTER_TYPE_EXACT Show child attributes
/ The filter term to use as a matching reference.
FILTER_TYPE_UNSPECIFIED, FILTER_TYPE_STARTS_WITH, FILTER_TYPE_ENDS_WITH, FILTER_TYPE_CONTAINS, FILTER_TYPE_EXACT A successful response.
Response confirming the successful update of a team group's configuration.
Was this page helpful?