POST
/
api
/
v1
/
rulegroups
/
company-limits
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/api/v1/rulegroups/company-limits';

let options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "companyId": "<string>",
  "limits": {
    "parsingThemes": 123,
    "groups": 123,
    "rules": 123
  },
  "usage": {
    "parsingThemes": 123,
    "groups": 123,
    "rules": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json · object

Response

200
application/json

A successful response.

The response is of type object.