POST
/
v1
/
view_folders
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": "0cd4ed54-9b59-4eef-b329-151a167e2304",
  "name": "My Folder"
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Create view folder.

Response

200
application/json

View folder

View folder.