Examples

GET /api/hosts/host303.example90.com/template/provitamin
404
{
  "message": "No template with kind provitamin for host303.example90.com"
}

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.

kind
required

Template kinds, available values: PXELinux, PXEGrub, iPXE, provision, finish, script, user_data, ZTP, POAP, PXEGrub2, kexec

Validations:

  • Must be a String