Examples

GET /api/locations/447626439
200
{
  "select_all_types": [],
  "description": null,
  "created_at": "2019-09-11 14:52:11 UTC",
  "updated_at": "2019-09-11 14:52:11 UTC",
  "ancestry": null,
  "parent_id": null,
  "parent_name": null,
  "id": 447626439,
  "name": "loc277",
  "title": "loc277",
  "users": [],
  "smart_proxies": [],
  "subnets": [],
  "compute_resources": [],
  "media": [],
  "config_templates": [],
  "ptables": [],
  "provisioning_templates": [],
  "domains": [],
  "realms": [],
  "environments": [],
  "hostgroups": [],
  "organizations": [],
  "hosts_count": 0,
  "parameters": [
    {
      "priority": 20,
      "created_at": "2019-09-11 14:52:11 UTC",
      "updated_at": "2019-09-11 14:52:11 UTC",
      "id": 767575239,
      "name": "foo",
      "parameter_type": null,
      "value": "*****"
    }
  ]
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

show_hidden_parameters
optional

Display hidden parameter values

Validations:

  • Must be one of: true, false, 1, 0.

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.