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