Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The UUID of the saved metric to update

Body

application/json

Request to update an existing metric

name
string

Updated metric name

Required string length: 1 - 100
params
object

Updated metric parameters

description
string | null

Updated metric description (can be set to null to clear)

Maximum string length: 500

Response

Metric updated successfully

Single metric response

status
enum<string>
Available options:
success
data
object

A saved metric definition

metadata
object