No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/users';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"teamId":{"id":0},"addUsersToGroup":[{"groupId":{"id":0},"userIds":[{"id":"string"}]}]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
API key authentication
Bulk request to assign users to multiple team groups simultaneously, efficiently managing group memberships at scale.
A successful response.
Response confirming the successful bulk addition of users to multiple team groups.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/users';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"teamId":{"id":0},"addUsersToGroup":[{"groupId":{"id":0},"userIds":[{"id":"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/users';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"teamId":{"id":0},"addUsersToGroup":[{"groupId":{"id":0},"userIds":[{"id":"string"}]}]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
API key authentication
Bulk request to assign users to multiple team groups simultaneously, efficiently managing group memberships at scale.
A successful response.
Response confirming the successful bulk addition of users to multiple team groups.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/users';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"teamId":{"id":0},"addUsersToGroup":[{"groupId":{"id":0},"userIds":[{"id":"string"}]}]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}