listmonk unofficial
PUT/templates/{id}/default

Set a template as the default

Sets the specified template as the default template. Use the template's integer identifier to select which template to make the default.

1 parameter
idintegerrequired
The integer identifier of the template to set as the default.

1 status code
200Returns the template object, including its identifier, timestamps, name, body, body source, subject, type, and default status.
idintegeroptional
created_atstringoptional
updated_atstringoptional
namestringoptional
bodystringoptional
body_sourcestringoptional
subjectstringoptional
typestringoptional
is_defaultbooleanoptional

Error handling

The id path parameter must identify the template you want to set as the default.