Examples

GET /api/locations/447626443
200
{
  "select_all_types": [
    "ProvisioningTemplate",
    "Hostgroup"
  ],
  "description": null,
  "created_at": "2024-02-22 15:46:13 UTC",
  "updated_at": "2024-02-22 15:46:13 UTC",
  "ancestry": null,
  "parent_id": null,
  "parent_name": null,
  "id": 447626443,
  "name": "loc92",
  "title": "loc92",
  "users": [],
  "smart_proxies": [],
  "subnets": [],
  "compute_resources": [],
  "media": [],
  "ptables": [],
  "provisioning_templates": [],
  "domains": [],
  "realms": [],
  "hostgroups": [],
  "organizations": [],
  "hosts_count": 0,
  "parameters": [
    {
      "priority": 20,
      "created_at": "2024-02-22 15:46:13 UTC",
      "updated_at": "2024-02-22 15:46:13 UTC",
      "id": 767575259,
      "name": "foo",
      "parameter_type": "string",
      "associated_type": "location",
      "hidden_value?": true,
      "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:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

show_hidden_parameters
optional

Display hidden parameter values

Validations:

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

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..