Authorizations
API key authentication
Response
This data structure is obtained after setting the active status of retentions
Example:
true
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataengine/retention-tags/v1/activate';
let options = {method: 'POST', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"activateRetentions": true
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataengine/retention-tags/v1/activate';
let options = {method: 'POST', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"activateRetentions": true
}
API key authentication
This data structure is obtained after setting the active status of retentions
true
Was this page helpful?