JavaScript
Metric Policy
Update a metric policy
Updates an existing metric policy. System policies cannot be modified.
PUT
JavaScript
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the metric policy to update
Body
application/json
Input for updating an existing metric policy
Name of the metric policy
Minimum string length:
1Status of the policy
Available options:
ACTIVE, INACTIVE Condition groups. Omit to keep existing, provide empty array to remove all conditions.
Metric definitions to collect when this policy matches
Minimum array length:
1Response
The updated metric policy
A metric policy defining when metrics should be collected

