Deactivate Subscriber
Manually deactivates a subscriber on a plan. After deactivation, no new renewal invoices will be generated until the subscriber is reactivated via Activate Subscriber.
Already-issued invoices that have not yet been paid are not cancelled — they run out their lifetime (7 days for subscription invoices) and become expired.
Calling deactivate on a subscriber who is already inactive has no effect.
POST
/api/subscriptions/%plan_id%/users/%user_id%/deactivateAuth: RequiredResponse
Returns the updated subscriber record:
idstringSubscriber identifier.
emailstringSubscriber's email.
statusstringNew status — inactive after a successful deactivation.
subscribedDatestringDate the subscriber was attached to the plan.
renewalDatestringLast scheduled renewal date.
revenueAmountstringTotal revenue from this subscriber.
revenueAssetstringCurrency of revenueAmount.
createdAtstringRecord creation timestamp.
updatedAtstringLast update timestamp.