Skip to main content
DELETE
Stop selected VMs or a whole reservation
In an hourly VM reservation, select one or more running VMs and choose Stop VM or Stop VMs. Stop all VMs ends the whole reservation. To stop selected VMs through the API, send the DELETE with a JSON body of virtualMachineIds. Send no body to stop the whole reservation. An empty or null selection is rejected. Selected stops are available for Spot and On-demand VMs; remove a VM from its Kubernetes or Slurm cluster before stopping it. Selected VMs stop billing when the request is accepted. Unselected VMs keep running and billing. Unused prepaid time is returned when the hour is settled, according to the payment flow shown in checkout. Stopping the last VM ends the reservation. Local VM disks are deleted; export local files first. A 202 response means cleanup is still running. Read the reservation’s VM list until the selected IDs disappear or reach deleted or destroyed. An accepted stop appears in its capacity history as a selected_vm_stop revision whose effectiveAt is the billing cutoff and whose counts are what remains. A null pendingOperation on a reservation read does not confirm cleanup. Sending the same selection again while its stop is pending is rejected with 409. Stopping other VMs that are still running can proceed at the same time. Once those VMs are gone, the request is rejected with 409. See How spot ends. A whole-reservation stop can finish even if a machine needs further cleanup recovery. That machine remains unavailable for another rental until recovery is resolved; a completed reservation alone does not confirm physical cleanup.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Path Parameters

reservationId
string<uuid>
required

Reservation ID.

Body

application/json
virtualMachineIds
string<uuid>[]

Omit to stop the whole reservation. Empty or null is rejected.

Required array length: 1 - 1000 elements

Response

The whole reservation has ended.

reservationId
string<uuid>
required
status
enum<string>
required
Available options:
confirmed,
active,
completed,
cancelled
isSpot
boolean
required

Whether this is an hourly Spot or On-demand reservation. Use kind to distinguish the rental types.

kind
enum<string> | null
required

Saved rental type. Null when no rental type was recorded for a historical reservation.

Available options:
reserved,
spot,
on-demand,
null
reservedNodeCount
integer
required
reservedGpuCount
integer
required

GPUs reserved; 0 for CPU capacity.

startsAt
string<date-time>
required
endsAt
string<date-time> | null
required
customerId
string<uuid>
listingId
string<uuid>
listingTermId
string<uuid>
provisioningType
enum<string>
Available options:
virtual-machine,
bare-metal,
kubernetes,
slurm
facilityId
string<uuid>
gpuSlug
string | null

Catalog GPU slug. Null for CPU capacity, nodes without GPUs.

gpusPerNode
integer

GPUs per node; 0 for CPU capacity.

coresPerNode
integer | null

CPU capacity only. Cores per node, at least 1; each core is 2 vCPUs. Null for GPU capacity.

Required range: x >= 1
cores
integer | null

CPU capacity only. Cores reserved, at least 1; each core is 2 vCPUs, so the reservation holds twice as many vCPUs, and pricePerGpuHourMicroUsd is per vCPU-hour. Null for GPU capacity.

Required range: x >= 1
pricePerGpuHourMicroUsd
integer<int64>

Your agreed reservation rate in integer micro-USD per unit-hour (GPU-hour, or vCPU-hour for CPU capacity), including any fee you pay. Historical reservations without a saved rate show the linked listing term price.

durationHours
number | null

Original agreed duration in hours, separate from operational start and end dates. Renewable reservations retain this duration with a null end date. Null when no duration was agreed.

renewable
boolean | null

Whether the reservation contract permits renewal.

downPaymentCents
integer<int64> | null
pendingOperation
string | null

Reservation reads report pending transfer or node maintenance actions only and do not poll activation or stopping progress. A lifecycle mutation response may include its accepted command. Null alone does not confirm that machine changes have completed.

pendingOperationId
string<uuid>
vmDiskId
string<uuid> | null
deployedAt
string<date-time> | null
endReason
string | null
preemptNoticeSeconds
integer | null

Spot and On-demand only. The notice, in seconds, this VM gets before its seller can take its node back, fixed when you bought it. Null for reserved bookings.

allNodesInterruptionAt
string<date-time>

Scheduled reclaim time for all nodes in this buyer's running hourly reservation, when its listed capacity ends.

nodeInterruptions
object

Earliest pending reclaim time for each affected host node ID in this buyer's running hourly reservation. A VM on that node is reclaimed at the earlier of its node deadline and the reservation-wide deadline.

interruptionAt
string<date-time>

Earliest scheduled node reclaim or listed-capacity end for a running Spot or On-demand reservation. Shown only to the buyer. A node reclaim may affect only part of the reservation. Omitted when no deadline is scheduled or the reservation has ended; shutdown and cleanup may finish later.

failure
object

Present when a Spot or On-demand reservation ended because an hour could not be paid (payment_failed) or its VMs could not start (provisioning_failed). Shown only to the buyer.

transactionId
string<uuid>
createdAt
string<date-time>
updatedAt
string<date-time>
relistableNodeCount
integer
relistUnavailableReason
string | null