Skip to main content
PATCH
Rename or enable/disable a custom metric definition

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required
definition_id
string
required

Body

application/json

Body for PATCH /orgs/{org_id}/metrics/definitions/{id}.

Only the knobs that are safe to change in place. The predicate and the destination metric are immutable: editing them would splice two different meanings into one series with no marker at the seam, so a changed definition should be a new definition.

enabled
boolean | null
name
string | null

Response

Definition updated