---
title: "Update Metric"
method: PUT
path: "/api/v1/custom-metrics/{metric_id}"
tags: ["Custom Metrics"]
---

# Update Metric

`PUT /api/v1/custom-metrics/{metric_id}`

## Path parameters

- `metric_id` string, uuid, required

## Request body

- CustomMetricUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `formula` FormulaToken[], nullable
    - `type` string, required
    - `value` string, required
  - `format` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/a9374f6fe96c/schema)
