policy

Create or update a policy (sub)tree

put/policy

Query parameters

replaceboolean

If true, indicates that existing rules with identical labels should be replaced.

replace-with-labelsstring[]

If present, indicates that existing rules with the given labels should be deleted.

Request body

string required

Response

Success

revisioninteger

Revision number of the policy. Incremented each time the policy is changed in the agent's repository

policystring

Policy definition as JSON.

Changes