GET
/
v1
/
teams
/
groups
/
{groupId.id}
/
scope
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/teams/groups/%7BgroupId.id%7D/scope';

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));
{
  "scope": {
    "id": {
      "id": 123
    },
    "filters": {
      "subsystems": [
        {
          "term": "<string>",
          "filterType": "FILTER_TYPE_UNSPECIFIED"
        }
      ],
      "applications": [
        {
          "term": "<string>",
          "filterType": "FILTER_TYPE_UNSPECIFIED"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

groupId.id
integer
required

Response

200
application/json

A successful response.

Response message containing the optional scope configuration (filters for subsystems and applications) for a team group