Examples

GET /register
404
echo "ERROR: not_found";
echo "Global Registration Template with name not-existing-template defined via default_global_registration_item Setting not found, please configure the existing template name first";
exit 1

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.