Skip to main content

tools.ozone.communication.updateTemplate

POST 

tools.ozone.communication.updateTemplate

Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

Request

Body

required

    id stringrequired

    ID of the template to be updated.

    name string

    Name of the template.

    contentMarkdown string

    Content of the template, markdown supported, can contain variable placeholders.

    subject string

    Subject of the message, used in emails.

    updatedBy did

    DID of the user who is updating the template.

    disabled boolean

Responses

OK

Schema

    id stringrequired
    name stringrequired

    Name of the template.

    subject string

    Content of the template, can contain markdown and variable placeholders.

    contentMarkdown stringrequired

    Subject of the message, used in emails.

    disabled booleanrequired
    lastUpdatedBy didrequired

    DID of the user who last updated the template.

    createdAt date-timerequired
    updatedAt date-timerequired
Loading...