No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';
let options = {
method: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"groups":[{"name":"string","interval":0,"limit":"string","rules":[{"record":"string","expr":"string","labels":{"property1":"string","property2":"string"}}],"version":0,"id":"string"}],"name":"string"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
API key authentication
A set of rule groups to update.
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';
let options = {
method: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"groups":[{"name":"string","interval":0,"limit":"string","rules":[{"record":"string","expr":"string","labels":{"property1":"string","property2":"string"}}],"version":0,"id":"string"}],"name":"string"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';
let options = {
method: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"groups":[{"name":"string","interval":0,"limit":"string","rules":[{"record":"string","expr":"string","labels":{"property1":"string","property2":"string"}}],"version":0,"id":"string"}],"name":"string"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
API key authentication
A set of rule groups to update.
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';
let options = {
method: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"groups":[{"name":"string","interval":0,"limit":"string","rules":[{"record":"string","expr":"string","labels":{"property1":"string","property2":"string"}}],"version":0,"id":"string"}],"name":"string"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}