GET /api/operatingsystems/:operatingsystem_id/os_default_templates
List default templates combinations for an operating system

GET /api/provisioning_templates/:provisioning_template_id/os_default_templates
List operating systems where this template is set as a default

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

provisioning_template_id
optional

ID of provisioning template

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.


GET /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Show a default template combination for an operating system

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

id
required

Validations:

  • Must be a number.


POST /api/operatingsystems/:operatingsystem_id/os_default_templates
Create a default template combination for an operating system

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

os_default_template
required

Validations:

  • 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.


PUT /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Update a default template combination for an operating system

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

id
required

Validations:

  • String

os_default_template
required

Validations:

  • 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.


DELETE /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Delete a default template combination for an operating system

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

id
required

Validations:

  • String