Skip to main content

Delete recurrence rule

Soft-deletes the recurring rule and optionally removes unpaid generated occurrences from the chosen scope. Paid movements are kept.
1 min read
delete/finance/profiles/{studioId}/recurring/{ruleId}
Request example
Response
delete/finance/profiles/{studioId}/recurring/{ruleId}

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.

Query parameters

deleteScopeenum<string>#
current_and_future removes unpaid from the effective month onward; future_only keeps the effective month.
Options:current_and_futurefuture_only
effectiveYearinteger#
effectiveMonthinteger#

Range: 1–12

Responses

No content.