Skip to main content

Set recurrence rule active

Pause or resume a rule. With scope + effective year/month, pause also removes unpaid occurrences in range; resume sets effective start.
1 min read
post/finance/profiles/{studioId}/recurring/{ruleId}/active
Request example
Response
post/finance/profiles/{studioId}/recurring/{ruleId}/active

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.
ruleIdstringrequired#
Identifier or key ruleId.

Body

application/json
isActivebooleanrequired#
scopeenum<string>#
Options:current_and_futurefuture_only
effectiveYearinteger#
effectiveMonthinteger#

Range: 1–12

Responses

No content.