Examples

GET /api/job_templates/1007982149-Job%20template%20202
200
{
  "description": null,
  "description_format": null,
  "created_at": "2024-05-23 19:42:02 UTC",
  "updated_at": "2024-05-23 19:42:02 UTC",
  "template": "id",
  "locked": false,
  "id": 1007982149,
  "name": "Job template 202",
  "job_category": "Job name 199",
  "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
    }
  ],
  "ansible_callback_enabled": false
}

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..