Update Policy
PUT
https://api.coralogix.com/mgmt/openapi/3/dataplans/policies/v1No 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
- oneOf
- Option 1
- Option 2
description#string
Example:
My Policy Descriptionenabled#boolean
Example:
trueid#stringrequired
Example:
policy_idLog rules for a policy.
name#string
Example:
My Policypriority#quota.v1.Priority
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Response
application/json
This data structue is obtained when updating a policy.
- Option 1
- Option 2
policy#objectrequiredoneOfpolicy.applicationRule# object policy.archiveRetention# object policy.logRules# object policy.subsystemRule# object
A policy is a set of rules that define the behavior of the Coralogix system for a specific company.
policy.companyId#int32required
Example:
1234policy.createdAt#string
Example:
2021-01-01T00:00:00.000Zpolicy.deleted#booleanrequired
Example:
falsepolicy.description#string
Example:
My Policy Descriptionpolicy.enabled#booleanrequired
Example:
truepolicy.id#stringrequired
Example:
policy_idLog rules for a policy.
policy.name#stringrequired
Example:
My Policypolicy.order#int32required
Example:
1policy.priority#quota.v1.Priorityrequired
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
policy.updatedAt#string
Example:
2021-01-01T00:00:00.000Z