Update metrics

Replace the church's full metric tree. Metrics omitted from the request are deleted along with every value recorded for them, so first retrieve the current tree from /api/reporting/metrics, apply your changes, then send back the full tree. Omit the id on new metrics and one is generated.

Required permission: Metrics Settings

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
metrics
array of objects | null

The church's top-level metrics, with sub-metrics nested under children.

metrics
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!