Skip to main content

update health metric definition

update health metric definition. Requires a Bearer session and a valid Bearer session.
1 min read
patch/health/profiles/{studioId}/metrics/definitions/{definitionId}
Request example
Response
patch/health/profiles/{studioId}/metrics/definitions/{definitionId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
definitionIdstringrequired#
Identifier or key definitionId.

Body

application/json
Namestring#
Unitstring#
ValueTypestring#
Colorstring#
isArchivedboolean#

Responses

No content.