compute

DELETE /v1/compute/servers/{serverId}/plan/{purchaseId}

Stop paying for one option — where the provider permits it.

Të gjitha pikat e skajshme compute

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen billing.payment.manage; një çelës pa të refuzohet me 403, jo 404.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X DELETE https://api.zinndigital.com/v1/compute/servers/{serverId}/plan/{purchaseId} \
  -H "Authorization: Bearer zdk_live_…"

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

⛔⛔ **Not a delete at the provider, and the response says so.** this platform charges the option's term up front and refund nothing, so this stops the *renewal*: the thing stays attached and the customer keeps what they paid for until the contract expires. The purchase comes back as `cancelling`, never `ended`, precisely so no screen can claim otherwise. ⛔ **`422` on the VPS range, always.** A VPS add-on is a sub-contract of the machine and this platform exposes no way to cancel one - not through the reseller API, not through the contract (the write is accepted and ignored), and not in their own control panel, where the row carries no action at all and is labelled "renews with" the machine. Read `addons_removable` from `getComputeServerPlan` and do not offer the control at all rather than inviting a refusal. Requires `billing.payment.manage`.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
serverId (path)UuidPoThe server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine.
purchaseId (path)UuidPoThe purchase's id. **Ours** (UUIDv7), minted when the option was bought — never the provider's identifier for the add-on contract, which no client ever sees.

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
dataComputeAddonPurchasePoOne paid option a tenant actually bought against one machine. ⛔ `status` is `cancelling`, not `ended`, after a removal. The thing is still running and still ours to pay for unti…

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 422 · 429