Machine Lifecycle
delete/v1/machines/{machine_id}

Request

  • Base URL
    https://dcs.dedaluslabs.ai
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

machine_idstring required

Headers

X-Dedalus-Org-Idstring
Idempotency-Keystring required

Response

OK

autosleep_secondsinteger required

Seconds of inactivity before autosleep. 0 disables autosleep.

desired_state'running' | 'sleeping' | 'destroyed' required
machine_idstring required
memory_mibinteger required

Memory in MiB.

phase'accepted' | 'placement_pending' | 'starting' | 'running' | 'stopping' | 'sleeping' | 'destroying' | 'destroyed' | 'failed' required
storage_gibinteger required
vcpunumber double required

CPU in vCPUs.

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      changed the pattern of the path request parameter machine_id from ^dm-[a-z0-9]([a-z0-9-]*[a-z0-9])?$ to ^dm-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      for the path request parameter machine_id, the minLength was increased from 0 to 4

    • breaking

      added the pattern ^dm-[a-z0-9]([a-z0-9-]*[a-z0-9])?$ to the path request parameter machine_id

    • warning

      for the path request parameter machine_id, the maxLength was set to 253

    • warning

      deleted the header request parameter If-Match

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status