POST /api/hostgroups/636252244/clone { "name": "EiXUjczqAK", "hostgroup": { "name": "EiXUjczqAK" } } 201 { "id": 928644297, "name": "EiXUjczqAK", "created_at": "2019-11-07T08:57:03.118Z", "updated_at": "2019-11-07T08:57:03.118Z", "environment_id": 334344675, "operatingsystem_id": 309172073, "architecture_id": 501905019, "medium_id": 980190962, "ptable_id": null, "root_pass": "$1$foreman$NW1XVtbk4/XkJqmKNrFWV0", "puppet_ca_proxy_id": 182953976, "use_image": null, "image_file": "", "ancestry": null, "vm_defaults": null, "subnet_id": null, "domain_id": 22495316, "puppet_proxy_id": 182953976, "title": "EiXUjczqAK", "realm_id": null, "compute_profile_id": 980190962, "grub_pass": "$1$foreman$NW1XVtbk4/XkJqmKNrFWV0", "lookup_value_matcher": "hostgroup=EiXUjczqAK", "subnet6_id": null, "pxe_loader": null, "description": null, "compute_resource_id": null }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
name required |
Validations:
|