Examples

GET /api/locations/447626486
200
{
  "select_all_types": [],
  "description": null,
  "created_at": "2021-09-01 11:09:41 UTC",
  "updated_at": "2021-09-01 11:09:41 UTC",
  "ancestry": null,
  "parent_id": null,
  "parent_name": null,
  "id": 447626486,
  "name": "loc87",
  "title": "loc87",
  "users": [],
  "smart_proxies": [],
  "subnets": [],
  "compute_resources": [],
  "media": [],
  "ptables": [],
  "provisioning_templates": [],
  "domains": [],
  "realms": [],
  "hostgroups": [],
  "organizations": [],
  "hosts_count": 0,
  "parameters": [
    {
      "priority": 20,
      "created_at": "2021-09-01 11:09:41 UTC",
      "updated_at": "2021-09-01 11:09:41 UTC",
      "id": 767575239,
      "name": "foo",
      "parameter_type": "string",
      "value": "*****"
    }
  ],
  "deprecations": {
    "environments": "Environments got deprecated from this endpoint."
  }
}

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

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.