Update a custom KPI
Updates the name, description, measures, dimensions or filters of a custom KPI. When provided, measures, dimensions and filters replace the whole existing list. The source, relations and time field cannot be changed: create a new KPI instead. Changing measures or dimensions rebuilds the aggregate table, and the measures get new identifiers: update the widgets that reference them.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Path Parameters
Identifier of the custom KPI to update (id_custom_kpi).
"3"Request Body
Responses
Custom KPI updated successfully.
Update a custom KPI Updates the name, description, measures, dimensions or filters of a custom KPI. When provided, measures, dimensions and filters replace the whole existing list. The source, relations and time field cannot be changed: create a new KPI instead. Changing measures or dimensions rebuilds the aggregate table, and the measures get new identifiers: update the widgets that reference them. PATCH /v1/custom-stats/kpis/{id} updateCustomKpi Custom KPIs spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. id Identifier of the custom KPI to update (id_custom_kpi). Custom KPI updated successfully. Client error - Invalid request or authentication issues Server error - Internal processing failure