Skip to main content

Update health routine block

Update health routine block. Requires a Bearer session and a valid Bearer session.
1 min read
patch/health/profiles/{studioId}/routines/{routineId}/blocks/{blockId}
Request example
Response
patch/health/profiles/{studioId}/routines/{routineId}/blocks/{blockId}

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.
routineIdstringrequired#
Identifier or key routineId.
blockIdstringrequired#
Identifier or key blockId.

Body

application/json
Positioninteger#
SectionLabelstring#
Titlestring#
Kindstring#
TargetDurationMinutesinteger#
TargetDistanceMetersinteger#
TargetSetsinteger#
TargetRepsinteger#
Intensitystring#
TargetMetricsanyrequired#
Notesstring#

Responses

No content.