Examples

GET /api/job_templates/1007982006-Job%20template%20150
200
{
  "description": null,
  "description_format": null,
  "created_at": "2022-11-08 19:06:21 UTC",
  "updated_at": "2022-11-08 19:06:21 UTC",
  "template": "id",
  "locked": false,
  "id": 1007982006,
  "name": "Job template 150",
  "job_category": "Job name 151",
  "provider_type": "SSH",
  "snippet": false,
  "template_inputs": [],
  "effective_user": {
    "value": null,
    "current_user": false,
    "overridable": true
  },
  "locations": [
    {
      "id": 255093256,
      "name": "Location 1",
      "title": "Location 1",
      "description": null
    }
  ],
  "organizations": [
    {
      "id": 447626438,
      "name": "Organization 1",
      "title": "Organization 1",
      "description": null
    }
  ]
}

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

id
required

Validations:

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