Delete an archived package and its plan for good, once no account has it
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
DELETE
/api/v1/tenants/{tid}/provisioning/packages/{ref}/permanentDelete an archived package and its plan for good, once no account has it (ADR 0130)
Permissions: plan.manage. Refused with PLAN_NOT_ARCHIVED or PLAN_IN_USE. Emits package.deleted.
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
ref | path | string | required | The billing system's own reference: 1 to 64 of A-Z a-z 0-9 . _ : -
|
confirm | query | string | required | The reference, repeated |
Idempotency-Key | header | string | optional | Same key and same request within 24 hours: the first answer is replayed (header Idempotent-Replayed: true). Same key, different request: 422 IDEMPOTENCY_KEY_REUSED.
|
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |