Start typing to search.

API Reference

Update a job template

View Markdown
PATCH /api/job-templates/{id}

Update a job template

Operation IDupdateJobTemplate

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource ID

Request body

This request body is required.

Content typeapplication/json

requestobject
4 properties
namestring
descriptionstring
yaml_contentstring
statusstring

Success response body

200Template updated with DAG

Template updated with DAG

Content typeapplication/json

responseobject
9 properties
idinteger
namestring
descriptionstring | null
yaml_contentstring
statusstring
created_atstring · date-time
updated_atstring · date-time
dagobject | null
2 properties
tasksobject

Additional properties are allowed.

levelsarray<array<string>>
Array items
itemarray<string>
Array items
itemstring
connectorsobject | null
Additional properties
valueobject
1 property
typestring

Error responses

400Validation error

Validation error

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "VALIDATION_ERROR",
  "message": "Invalid input"
}