Remove Payment Method
DELETE
/billing/payment-method
const url = 'https://api.mengi.cloud/billing/payment-method';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.mengi.cloud/billing/payment-methodRemove the user’s payment method (revoke all mandates). Only allowed when there are no active deployments or clusters.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example