Skip to main content
PATCH
Update automation template

Headers

if-match
string

A single ETag from Get Automation Template, or *. With an ETag, the update is applied only if the template has not been saved since; otherwise the API returns 412 without writing. * applies the update to any version. Weak ETags and lists of ETags return 412.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
version
string

Template version (semver)

contents
object

Fields of contents to replace. Each field you send replaces the stored one whole, so actionData replaces the full step list.

tenants
object

Tenants the template is synced to. Omit to keep the current tenants. Changes reach tenants at the next sync.

Response

Status 200 response

success
boolean
required
message
string
data
object