Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/dashboards/dashboards/v1/folders';

let options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"folder":{"id":"string","name":"string","parentId":"string"},"requestId":"string"}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "folderId": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
folder
object
requestId
string

Response

folderId
string
I