Examples

DELETE /api/hostgroups/866317115-Unusual
{
  "hostgroup": {}
}
200
{
  "id": 866317115,
  "name": "Unusual",
  "created_at": "2021-09-01T13:14:37.063Z",
  "updated_at": "2021-09-01T13:14:37.063Z",
  "environment_id": null,
  "operatingsystem_id": null,
  "architecture_id": null,
  "medium_id": null,
  "ptable_id": null,
  "root_pass": null,
  "puppet_ca_proxy_id": null,
  "use_image": null,
  "image_file": "",
  "ancestry": null,
  "vm_defaults": null,
  "subnet_id": null,
  "domain_id": null,
  "puppet_proxy_id": 182953976,
  "title": "Unusual",
  "realm_id": null,
  "compute_profile_id": null,
  "grub_pass": "",
  "lookup_value_matcher": "hostgroup=Unusual",
  "subnet6_id": null,
  "pxe_loader": null,
  "description": null,
  "compute_resource_id": null
}

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

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.