GET
/
v1
/
teams
/
groups
/
{groupId.id}
/
users
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>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

groupId.id
integer
required

Query Parameters

pageSize
integer

/ Pagination size. Defaults to 100 if empty

pageToken
string

/ Optional pagination continuation token / Contains an encoded cursor

Response

200
application/json

A successful response.

Response containing the list of all users currently assigned to the requested team group.