Skip to main content
You are viewing v3 of the Coralogix API. v5 is the current version. Go to the v5 reference

Atomic Batch Create Policy

POSThttps://api.coralogix.com/mgmt/openapi/3/dataplans/policies/v1/bulkCreate

No description available

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json
    policyRequests#object[]required

    This data structue is used to create a new policy.

    oneOf
    policyRequests.description#string
    Example: My Policy Description
    policyRequests.disabled#boolean

    Log rules for a policy.

    policyRequests.name#stringrequired
    Example: My Policy
    policyRequests.placement#objectoneOf
    policyRequests.placement.first#object
    policyRequests.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.