Delete a payment method
DELETE/apis/cra.diagrid.io/v1beta1/billing/paymentmethods/:PaymentMethodId
Remove a payment method. For a card, if it was the organization default, the default is cleared. Cloud-marketplace methods cannot be removed here — cancellation happens in the marketplace — and return 409.
Request
Responses
- 204
- 404
- 409
- default
No content. The payment method was removed.
The payment method was not found.
The payment method is a cloud-marketplace subscription and cannot be removed here; cancel it in the marketplace instead.
Unexpected error.