curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/3/dataplans/policies/v1/bulkCreate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"policyRequests": [
{
"name": "My Policy",
"applicationRule": {
"name": "<string>"
},
"archiveRetention": {
"id": "<string>"
},
"description": "My Policy Description",
"disabled": true,
"placement": {
"first": {}
},
"subsystemRule": {
"name": "<string>"
}
}
]
}
'{
"createResponses": [
{
"policy": {
"companyId": 1234,
"deleted": false,
"enabled": true,
"id": "policy_id",
"name": "My Policy",
"order": 1,
"applicationRule": {
"name": "<string>"
},
"archiveRetention": {
"id": "<string>"
},
"createdAt": "2021-01-01T00:00:00.000Z",
"description": "My Policy Description",
"logRules": {
"severities": []
},
"subsystemRule": {
"name": "<string>"
},
"updatedAt": "2021-01-01T00:00:00.000Z"
}
}
]
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/3/dataplans/policies/v1/bulkCreate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"policyRequests": [
{
"name": "My Policy",
"applicationRule": {
"name": "<string>"
},
"archiveRetention": {
"id": "<string>"
},
"description": "My Policy Description",
"disabled": true,
"placement": {
"first": {}
},
"subsystemRule": {
"name": "<string>"
}
}
]
}
'{
"createResponses": [
{
"policy": {
"companyId": 1234,
"deleted": false,
"enabled": true,
"id": "policy_id",
"name": "My Policy",
"order": 1,
"applicationRule": {
"name": "<string>"
},
"archiveRetention": {
"id": "<string>"
},
"createdAt": "2021-01-01T00:00:00.000Z",
"description": "My Policy Description",
"logRules": {
"severities": []
},
"subsystemRule": {
"name": "<string>"
},
"updatedAt": "2021-01-01T00:00:00.000Z"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication
This data structure is used to create multiple policies atomically.
This data structue is used to create a new policy.
Show child attributes
This data structure is obtained when creating multiple policies atomically.
Show child attributes
Was this page helpful?