Skip to main content
PUT
Assign a project to a billing warm slot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgID
string<uuid>
required
slotIndex
integer<int64>
required

The slot's place in the org's grid, from 0.

Required range: 0 <= x <= 2147483647

Body

application/json
project_id
string<uuid>
required
vm_size
enum<string>
required
Available options:
small,
medium,
large
if_unassigned
boolean

Claim the slot only when it holds no project, an auto-assigned project, or this project at this VM size; any other pin is refused with 409 warm_slot_occupied instead of being evicted or resized.

Response

OK

One slot of the org's warm slot grid: unassigned, or held by a project and in the status that project's warm machines are in.

slot_index
integer<int32>
required

The slot's place in the org's grid, from 0; the key both writes take.

Required range: 0 <= x <= 2147483647
status
enum<string>
required
Available options:
unassigned