Examples

GET /register
200
echo "Default Global registration template"

Params

Param name Description
organization_id
optional

ID of the Organization to register the host in.

Validations:

  • Must be a number.

location_id
optional

ID of the Location to register the host in.

Validations:

  • Must be a number.

hostgroup_id
optional

ID of the Host group to register the host in.

Validations:

  • Must be a number.

operatingsystem_id
optional

ID of the Operating System to register the host in.

Validations:

  • Must be a number.

setup_insights
optional

Set ‘host_registration_insights’ parameter for the host. If it is set to true, insights client will be installed and registered on Red Hat family operating systems.

Validations:

  • Must be one of: true, false, 1, 0.

setup_remote_execution
optional

Set ‘host_registration_remote_execution’ parameter for the host. If it is set to true, SSH keys will be installed on the host.

Validations:

  • Must be one of: true, false, 1, 0.