const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/extension-deployment/undeploy';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"id":"string","keptExtensionItems":["[]"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"failedItems": [
{
"itemId": "<string>",
"remoteId": "<string>",
"reason": "<string>"
}
],
"extensionDeployment": {
"id": "<string>",
"version": "<string>",
"itemIds": [
"[]"
],
"applications": [
"[]"
],
"subsystems": [
"[]"
]
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/extension-deployment/undeploy';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"id":"string","keptExtensionItems":["[]"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"failedItems": [
{
"itemId": "<string>",
"remoteId": "<string>",
"reason": "<string>"
}
],
"extensionDeployment": {
"id": "<string>",
"version": "<string>",
"itemIds": [
"[]"
],
"applications": [
"[]"
],
"subsystems": [
"[]"
]
}
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?