const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/%7BgroupId.id%7D/users?pageSize=SOME_INTEGER_VALUE&pageToken=SOME_STRING_VALUE';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"users": [
{
"userId": {
"id": "<string>"
},
"userAccountId": {
"id": 123
},
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"status": "USER_STATUS_UNSPECIFIED"
}
],
"noMorePages": {},
"token": {
"nextPageToken": "<string>"
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/%7BgroupId.id%7D/users?pageSize=SOME_INTEGER_VALUE&pageToken=SOME_STRING_VALUE';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"users": [
{
"userId": {
"id": "<string>"
},
"userAccountId": {
"id": 123
},
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"status": "USER_STATUS_UNSPECIFIED"
}
],
"noMorePages": {},
"token": {
"nextPageToken": "<string>"
}
}
API key authentication
/ Pagination size. Defaults to 100 if empty
/ Optional pagination continuation token / Contains an encoded cursor
A successful response.
Response containing the list of all users currently assigned to the requested team group.
Was this page helpful?