These API calls are related to nested parameters for a host, domain, subnet, host group, operating system. If you are looking for global parameters, go to this link.
GET /api/hosts/host125/parameters 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "priority": 70, "created_at": "2021-11-26 07:26:36 UTC", "updated_at": "2021-11-26 07:26:36 UTC", "id": 767575240, "name": "parameter1", "parameter_type": "string", "value": "parameter value 10" } ] }
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
subnet_id optional |
ID of subnet Validations:
|
show_hidden optional |
Display hidden values Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. ‘id DESC’ Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, ‘all’ to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
domain_name | string | |
host_group_name | string | |
host_name | string | |
key_type | string | |
location_name | string | |
name | string | |
organization_name | string | |
os_name | string | |
parameter_type | string | |
subnet_name | text | |
type | string | |
value | text |
GET /api/hosts/host194/parameters/767575242-parameter5 200 { "priority": 70, "created_at": "2021-11-26 07:45:25 UTC", "updated_at": "2021-11-26 07:45:25 UTC", "id": 767575242, "name": "parameter5", "parameter_type": "string", "value": "parameter value 14" }
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
subnet_id optional |
ID of subnet Validations:
|
id required |
ID of parameter Validations:
|
show_hidden optional |
Display hidden values Validations:
|
POST /api/subnets/1018350795/parameters { "parameter": { "name": "key", "value": "suLEhYOywp, Yr1fBb7yEw, 湝廛耔颱初觝訞簕鎼狍, ӻЌчӎеҎӿӬфң, <span>gyAXlqbcAP</span>, ÄöÞãüÞÚÔÓÎ, 6174754656, Ꚏ𨋚獨𥦗𢢁𠴌𪂅髻𣈛榽, ?:(*::':\"@" } } 201 { "priority": 40, "created_at": "2021-11-26 07:45:24 UTC", "updated_at": "2021-11-26 07:45:24 UTC", "id": 767575240, "name": "key", "parameter_type": "string", "value": "suLEhYOywp, Yr1fBb7yEw, 湝廛耔颱初觝訞簕鎼狍, ӻЌчӎеҎӿӬфң, <span>gyAXlqbcAP</span>, ÄöÞãüÞÚÔÓÎ, 6174754656, Ꚏ𨋚獨𥦗𢢁𠴌𪂅髻𣈛榽, ?:(*::':\"@" }
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
subnet_id optional |
ID of subnet Validations:
|
parameter required |
Validations:
|
parameter[name] required |
Validations:
|
parameter[value] required |
Validations:
|
parameter[parameter_type] required |
Type of value Validations:
|
PUT /api/operatingsystems/1073012828-RHEL%206-1/parameters/716195090-os1 { "parameter": { "name": "special_key", "value": "123" } } 200 { "priority": null, "created_at": "2021-11-26 07:44:54 UTC", "updated_at": "2021-11-26 07:45:25 UTC", "id": 716195090, "name": "special_key", "parameter_type": "string", "value": "123" }
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
id required |
ID of parameter Validations:
|
subnet_id optional |
ID of subnet Validations:
|
parameter required |
Validations:
|
parameter[name] optional |
Validations:
|
parameter[value] optional |
Validations:
|
parameter[parameter_type] optional |
Type of value Validations:
|
DELETE /api/domains/22495316-mydomain-net/parameters/665394701-parameter { "parameter": {} } 200 { "id": 665394701, "name": "parameter", "value": "value1", "reference_id": 22495316, "created_at": "2021-11-26T07:44:54.658Z", "updated_at": "2021-11-26T07:44:54.658Z", "priority": null, "hidden_value": "*****", "key_type": "string", "searchable_value": "value1" }
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
id required |
ID of parameter Validations:
|
subnet_id optional |
ID of subnet Validations:
|
DELETE /api/domains/22495316-mydomain-net/parameters { "parameter": {} } 200 [ ]
Param name | Description |
---|---|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
domain_id optional |
ID of domain Validations:
|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
ID of location Validations:
|
organization_id optional |
ID of organization Validations:
|
subnet_id optional |
ID of subnet Validations:
|