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/host153/parameters 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "priority": 70, "created_at": "2018-07-24 12:44:56 UTC", "updated_at": "2018-07-24 12:44:56 UTC", "id": 767575239, "name": "parameter5", "value": "parameter value 5" } ] }
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 field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
domain_name | string | |
host_group_name | string | |
host_name | string | |
location_name | string | |
name | string | |
organization_name | string | |
os_name | string | |
subnet_name | text | |
type | string | |
value | text |
GET /api/locations/255093256-Location%201/parameters/513706444-loc_param 200 { "priority": null, "created_at": "2018-07-24 12:47:05 UTC", "updated_at": "2018-07-24 12:47:05 UTC", "id": 513706444, "name": "loc_param", "value": "abc" }
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-five/parameters { "parameter": { "name": "special_key", "value": "123" } } 201 { "priority": 40, "created_at": "2018-07-24 12:47:06 UTC", "updated_at": "2018-07-24 12:47:06 UTC", "id": 767575241, "name": "special_key", "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:
|
subnet_id optional |
ID of subnet Validations:
|
parameter required |
Validations:
|
parameter[name] required |
Validations:
|
parameter[value] required |
Validations:
|
PUT /api/domains/22495316-mydomain-net/parameters/665394701-parameter { "parameter": { "name": "special_key", "value": "123" } } 200 { "priority": null, "created_at": "2018-07-24 12:47:05 UTC", "updated_at": "2018-07-24 12:47:07 UTC", "id": 665394701, "name": "special_key", "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:
|
DELETE /api/hosts/host361/parameters/767575246-parameter21 { "parameter": {} } 200 { "id": 767575246, "name": "parameter21", "value": "parameter value 21", "reference_id": 176, "created_at": "2018-07-24T12:47:07.084Z", "updated_at": "2018-07-24T12:47:07.084Z", "priority": 70, "hidden_value": "*****" }
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/subnets/1018350795-five/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:
|