-
Task
-
Resolution: Obsolete
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
subs-swatch-lightning
-
-
After SWATCH-3927, there are still a couple of usages of the Subscription and Offering entities/repositories in swatch-tally. Specifically, there is an AccountResetService class that performs a delete of all subscriptions for an org. There is no corresponding endpoint for this operation in swatch-contracts, hence this card.
If SWATCH-3997 implements this or assume responsibility for all AccountResetService actions, please just close this card as done.
Acceptance:
- Create a deleteByOrgId endpoint for subscriptions accessible by swatch-tally
- Something like DELETE /api/swatch-contracts/internal/subscriptions/org/{org_id} and return the number of subscriptions deleted or just a 204 No Content.
- blocks
-
SWATCH-3995 Complete removal of Subscription and Offering entities from swatch-tally
-
- Refinement
-