Update an existing template
Changed onSaves a new working version of an existing template. The form must contain the template identifier. The 'theme' field in the form corresponds to the theme folder identifier (referred to as 'themeId' in other endpoints). Returns 404 if the template does not exist.
When drawed is true: body is REQUIRED and non-empty (else 400 'body required when drawed'), and theme MUST resolve to a theme folder identifier (else 400 'theme must be a folder identifier'). Include drawedBody (the layout JSON) so the template stays a real drawn template.
For a themed drawn template, body is a generated compatibility shell and is not used to assemble the rendered page; the theme's template.vtl and drawedBody are authoritative. A persisted /themes/null/ reference in that shell is benign, and changing body does not repair or affect themed drawn rendering because the server regenerates it.
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Template updated successfully
Changes
- breaking
request body became required
- breaking
removed the media type
*/*from the request body - info
api operation id
save_3removed and replaced withupdateTemplate - info
api tag
Templateadded - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking