Examples

GET /api/job_templates/1007981843-Job%20template%2098
200
{
  "description": null,
  "description_format": null,
  "created_at": "2024-02-22 18:13:50 UTC",
  "updated_at": "2024-02-22 18:13:50 UTC",
  "template": "id",
  "locked": false,
  "id": 1007981843,
  "name": "Job template 98",
  "job_category": "Job name 93",
  "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..