Skip to main content
Create quota allocation rule set
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/dataplan/quota-rules/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ruleSet": {
    "rules": [
      {
        "allocation": 123,
        "canOverflow": true,
        "enabled": true,
        "entityType": "<string>"
      }
    ],
    "id": "<string>"
  }
}
'
{
  "ruleSet": {
    "rules": [
      {
        "allocation": 123,
        "canOverflow": true,
        "enabled": true,
        "entityType": "<string>"
      }
    ],
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to create a new quota allocation rule set

ruleSet
Quota allocation entity type rule set · object
required

Contains a collection of quota allocation rules for entity types

Response

Response confirming quota allocation rule set has been successfully created

ruleSet
Quota allocation entity type rule set · object

Contains a collection of quota allocation rules for entity types