POST
/
v1
/
outgoing-webhooks
/
test-existing
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/outgoing-webhooks/test-existing';

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

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "success": {},
  "failure": {
    "errorMessage": "example_error_message",
    "displayMessage": "example_display_message",
    "statusCode": 400
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.