Updates an existing metric policy. System policies cannot be modified.
Documentation Index
Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the metric policy to update
Input for updating an existing metric policy
Name of the metric policy
1Status of the policy
ACTIVE, INACTIVE Condition groups. Omit to keep existing, provide empty array to remove all conditions.
Metric definitions to collect when this policy matches
1The updated metric policy
A metric policy defining when metrics should be collected