curl --request POST \
--url https://production.hifibridge.com/v2/reporting/metrics/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An Updated Report Title"
}
'{
"status": "success",
"data": {
"id": "1154d700-bd7d-41d5-8676-87b541baa86e",
"profileId": "e4c758d7-5475-4505-ba15-e129db0a441f",
"template": "TRANSACTION_COUNT",
"name": "An Updated Report Title",
"params": {
"createdAfter": "2025-01-01",
"createdBefore": "2025-12-01",
"calculationInterval": "week"
},
"createdAt": "2025-12-08T22:28:03.922Z",
"updatedAt": "2025-12-08T22:33:04.112Z"
},
"metadata": {}
}Updates the name, description, or parameters of an existing metric configuration. Supports partial updates.
curl --request POST \
--url https://production.hifibridge.com/v2/reporting/metrics/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An Updated Report Title"
}
'{
"status": "success",
"data": {
"id": "1154d700-bd7d-41d5-8676-87b541baa86e",
"profileId": "e4c758d7-5475-4505-ba15-e129db0a441f",
"template": "TRANSACTION_COUNT",
"name": "An Updated Report Title",
"params": {
"createdAfter": "2025-01-01",
"createdBefore": "2025-12-01",
"calculationInterval": "week"
},
"createdAt": "2025-12-08T22:28:03.922Z",
"updatedAt": "2025-12-08T22:33:04.112Z"
},
"metadata": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The UUID of the saved metric to update