Hanzo
OpenapiBilling

Remove one saved card or account — DELETE /v1/billing/portal/methods/{id}

Detaches the method at the processor and drops the row.

DELETE /v1/billing/portal/methods/{id}

Addresshttps://api.hanzo.ai/v1/billing/portal/methods/{id}
MethodDELETE
Operationdelete_billing_portal_methods_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Detaches the method at the processor and drops the row.

A method the caller does not own is NOT FOUND rather than refused — the same answer whether the id names nothing or names somebody else's card — so an id cannot be probed for existence.

A platform operator or the trusted in-process service token may act on any subject inside the org; everyone else may only remove their own.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo billing portal methods rm <id>

Billing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page