Atomic Batch Create Policy
POST
https://api.coralogix.com/mgmt/openapi/3/dataplans/policies/v1/bulkCreateNo description available
Authorizations
Authorizationrequired
API key authentication
The value is a Coralogix API key. Create a personal or team API key and assign its permissions.
Request
Body
application/json
- Option 1
- Option 2
policyRequests#object[]requiredoneOfpolicyRequests.applicationRule# object policyRequests.archiveRetention# object policyRequests.logRules# object policyRequests.subsystemRule# object
This data structue is used to create a new policy.
policyRequests.description#string
Example:
My Policy DescriptionpolicyRequests.disabled#boolean
Log rules for a policy.
policyRequests.name#stringrequired
Example:
My PolicypolicyRequests.priority#quota.v1.Priorityrequired
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Response
application/json
This data structure is obtained when creating multiple policies atomically.