Public capability-authenticated cleanup for browser push subscriptions.
Summary
Functions
Removes the exact current subscription when its Push API auth secret and per-save cleanup token match. This public RPC requires those capabilities, not an authenticated account session, and does not reveal whether a match existed.
Functions
@spec delete_subscription( Req.Request.t(), Chatto.Auth.V1.DeleteSubscriptionRequest.t() ) :: {:ok, Chatto.Auth.V1.DeleteSubscriptionResponse.t()} | {:error, Chatto.Connect.Error.t()}
Removes the exact current subscription when its Push API auth secret and per-save cleanup token match. This public RPC requires those capabilities, not an authenticated account session, and does not reveal whether a match existed.