compute

GET /v1/compute/servers/{serverId}/plan

What this machine costs, and what else it could have.

Semua titik akhir compute

Autentikasi

Kirim kunci API sebagai token bearer. Kunci tersebut harus memiliki izin sites.view; kunci tanpa izin tersebut akan ditolak dengan status 403, bukan 404.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

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

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

Everything the "change what I am paying for" card renders: the paid options already on the machine, the ones it could still take, and whether its size can change at all. ⛔⛔ **Read `resizable` and `addons_removable` before rendering any control.** They are different answers on the two ranges and both are vendor facts, not preferences. A cloud server resizes in place and its extended-backup tier can be cancelled; a VPS can do neither - this platform publishes no operation that changes a VPS's processor or memory, and no way to remove one of its add-ons. `resize_reason` and `addons_removal_reason` carry the sentence to show instead of the control. Requires `sites.view`.

Parameter

NamaJenisWajibTentang apa ini
serverId (path)UuidYaThe 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.

Tanggapan

NamaJenisWajibTentang apa ini
dataComputeServerPlanYaWhat a machine costs today, what else it could carry, and what may change.

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 404 · 429