Hanzo
OpenapiCommerce

Remove a plan from the authority

Deletes the addressed plan and answers 204.

DELETE /v1/commerce/plans/entries/{slug}

Addresshttps://api.hanzo.ai/v1/commerce/plans/entries/{slug}
MethodDELETE
Operationdelete_commerce_plans_entries_by_slug
AuthAuthorization: Bearer $HANZO_API_KEY

Deletes the addressed plan and answers 204. It removes the plan from the catalog buyers choose from; it does not touch subscriptions already sold against it, which keep their stored plan id. PLATFORM admin only — an org-level admin is refused 403 — and an unknown slug is 404.

Request

1 field.

FieldInTypeRequiredDescription
slugpathstringyes

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 has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page