DELETE
/
v1
/
policies
/
{id}
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/policies/%7Bid%7D';

let options = {method: 'DELETE', headers: {Authorization: 'Bearer <API_KEY>'}};

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

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

200
application/json

A successful response.

This data structue is obtained when deleting a policy by its ID.