Skip to main content

Update a health metric entry

Update the date, value, or note in place. Omitted fields remain unchanged. Send an empty note to clear it. Requires Health write access to the profile.
1 min read
patch/health/profiles/{studioId}/metrics/entries/{entryId}
Request example
Response
patch/health/profiles/{studioId}/metrics/entries/{entryId}

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#
entryIdstringrequired#

Body

application/json
recordedAtstring#
valuenumber#
notestring#

Responses

Entry updated.