Examples

POST /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates
{
  "os_default_template": {
    "provisioning_template_id": 943779058,
    "template_kind_id": 698706415
  }
}
201
{
  "id": 1018350796,
  "provisioning_template_id": 943779058,
  "provisioning_template_name": "MyString",
  "template_kind_id": 698706415,
  "template_kind_name": "iPXE",
  "operatingsystem_id": 1073012828,
  "operatingsystem_name": "RHEL 6.1"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

os_default_template
required

Validations:

  • Must be a Hash

os_default_template[template_kind_id]
optional , nil allowed

Validations:

  • Must be a number.

os_default_template[provisioning_template_id]
optional , nil allowed

ID of provisioning template

Validations:

  • Must be a number.