Skip to main content
PUT
Update template.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

jobTemplateId
string
required

Body

application/json
version
number
required

Current version.

inlineCode
object | null

Replace the execution source with inline code. Omit to preserve the current source, or select a componentId to switch to a component. Requires component write permission.

delivery
object | null

Template-wide admission mode. Null or omitted means SINGLE. BATCH/DEBOUNCE collect all Event, Schedule, manual and low-code/API sources sharing execution authority and inputs.

executionPolicy
object | null

Saved execution authority. Null restores inheritance. Clear legacy triggerUser when changing this policy.

Example:
name
string

Globally unique job-template name within the instance. Check for another template with this exact name before renaming; direct triggers may also resolve the template by name.

category
string

Category.

desc
string

Description.

metadata
object | null

Replacement resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

componentId
string<uuid> | null

Select a component to replace the source, or omit to preserve it. Inline source cannot include a component revision.

componentDigest
string | null

Portable exact component revision identity. Set null to follow latest.

timeout
number

Job execution timeout in seconds. The effective limit comes from the instance jobTimeout quota, up to 3540 seconds (59 minutes).

Required range: 1 <= x <= 3540
Example:

300

triggerUser
string | null
deprecated

Deprecated saved executor alias. Prefer executionPolicy; use null to clear the alias.

inputs
object | null

Deprecated legacy template inputs. Use options.input. Must be a JSON object; null is stored as an empty object.

options
object

Execution options. Custom low-code template values live under "input".

Response

OK.

Last modified on September 5, 2026