Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/aaa/team-sec-ip-access/v1';

let options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"enableCoralogixCustomerSupportAccess":"CORALOGIX_CUSTOMER_SUPPORT_ACCESS_UNSPECIFIED","id":405,"ipAccess":[{"enabled":true,"ipRange":"192.168.0.1/24","name":"Office Network"}]}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "settings": {
    "enableCoralogixCustomerSupportAccess": "CORALOGIX_CUSTOMER_SUPPORT_ACCESS_UNSPECIFIED",
    "id": 405,
    "ipAccess": 405
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structure represents the request to replace company IP access settings.

enableCoralogixCustomerSupportAccess
enum<string>
Available options:
CORALOGIX_CUSTOMER_SUPPORT_ACCESS_UNSPECIFIED,
CORALOGIX_CUSTOMER_SUPPORT_ACCESS_DISABLED,
CORALOGIX_CUSTOMER_SUPPORT_ACCESS_ENABLED
id
string
Example:

405

ipAccess
IP Access · object[]

Response

This data structure represents the response to replace company IP access settings.

settings
object

This data structure represents the IP access settings for a company.