Remove the saved card
DELETE/v1/users/me/payment-method
Forgets the saved card and turns auto-recharge off. Refused while a paid plan is in effect or is the next plan, or a statement is not yet settled: move to Free first, and remove the card once Free is in effect and its last statement is paid.
Responses
- 204
- 401
- 403
- 404
- 409
- 503
The card is removed.
Missing or invalid credentials.
FORBIDDEN: the credential is confined to one project, or is a connected app's. Billing changes need an account-wide key or a signed-in user.
The account has no saved card.
A paid plan is in effect or next, or a statement is unsettled (PAID_PLAN_REQUIRES_CARD); meta carries plan, next_plan and unpaid_statement.
Card payments are not available on this deployment (PAYMENTS_NOT_CONFIGURED).