Examples

POST /api/job_templates/1007982005-Job%20template%20149/clone
{
  "job_template": {
    "name": ""
  }
}
422
{
  "error": {
    "id": 1007982005,
    "errors": {
      "name": [
        "can't be blank"
      ]
    },
    "full_messages": [
      "Name can't be blank"
    ]
  }
}

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

job_template
required

Validations:

  • Hash

job_template[name]
required

Template name

Validations:

  • String