Examples

PUT /api/hosts/host701.example246.com/boot
{
  "device": "wrongbootdevice",
  "host": {}
}
422
{
  "error": "Unknown device: available devices are disk, cdrom, pxe, bios"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

device
required

boot device, valid devices are disk, cdrom, pxe, bios

Validations:

  • Must be a String