Update template
Updates a template. Caller must be the owner, a workspace admin (for workspace-scoped templates), or a global admin.
Set template_type: chain with a chain_config to convert a single
template into a chain, or send chain_config to edit an existing
chain (HAR-1098). Subject to the same per-plan step cap as chain launch.
Authorizations
API key authentication. Pass your key as a Bearer token.
Keys use the format hm_live_<32 hex chars>.
Generate keys from your Harmonica dashboard settings.
Path Parameters
Body
All fields optional; at least one must be provided.
Set to 'chain' to convert a single template into a chain (chain_config required) (HAR-1098).
single, chain Multi-step chain definition (used when template_type is 'chain'). Validated server-side (HAR-915): at least one step, unique step ids, valid role / assignment / completion shapes.
Spec identity for a registry re-install; the server stamps install_hash + timestamps (HAR-1108).
Overwrite a template that has local edits since install (HAR-1108).
Response
Updated template
single or chain
Chain definition for chain templates; null for single templates (HAR-1098).
Provenance for a template installed from the OFL method-specs registry; null for admin-authored templates (HAR-1108).