Skip to content

Remove Payment Method

DELETE
/billing/payment-method
curl --request DELETE \
--url https://api.mengi.cloud/billing/payment-method

Remove the payment method (revoke all mandates) for the active scope: the organization’s with organization_id (admin+), otherwise the user’s. Only allowed when there are no active deployments or clusters in the scope.

organization_id
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}