Skip to main content

update activity

update activity. Requires a Bearer session valid Bearer session.
1 min read
patch/activities/profiles/{studioId}/{activityId}
Request example
Response
patch/activities/profiles/{studioId}/{activityId}

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.
activityIdstringrequired#
Identifier or key activityId.

Body

application/json
Namestring#
StartTimestring#
EndTimestring#
Colorstring#
Descriptionstring#
kindenum<string>#
Only accepted when the activity has no kind yet (one-time recovery).
Options:habitblock
autoCompleteModeenum<string>#
Options:manualon_starton_end
assignedTostring[]#
recurrenceTypeenum<string>#
Options:dailyweeklymonthlycustom
recurrenceIntervalinteger#
recurrenceUnitenum<string>#
Options:daysweeksmonths
recurrenceWeekdaysinteger[]#
weekdayTimeSlotsobject[]#
Show child attributes
weekdayintegerrequired#

Range: 0–6

startTimestringrequired#
endTimestringrequired#
isRecurrencePausedboolean#
agendaReminderEnabledboolean#
emailReminderEnabledboolean#
emailReminderOffsetMinutesinteger#
emailReminderTimeZonestring#

Responses

No content.