Authorizations
API key authentication
Body
application/json
Create view folder.
Folder name
Minimum length:
1
Example:
"My Folder"
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/view_folders';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"My Folder"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"id": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"name": "My Folder"
}
Create view folder
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/view_folders';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"My Folder"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"id": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"name": "My Folder"
}
API key authentication
Create view folder.
Folder name
1
"My Folder"
Was this page helpful?