Email

Update an email template

patch/email-template/{id}

Request

  • Base URL
    https://api-staging.fanheroapi.com
  • URL
    https://api-staging.fanheroapi.com/email-template/{id}
  • Auth
    API key in header API Key

Request body

namestring required

The email template name

typestring

The type of the email template

Example request

{
  "templates": {
    "key": "sample key",
    "value": "sample value"
  }
}

Response

Template updated.

idstring required

The unique ID of the email template.

template_namestring required

The name of the email template

typestring required

The type of the email template

templatestring required

The HTML formatted text of the email template

templatesobject required
localizedobject required

An ISO 639-1 language code

Example response

{
  "id": "61886612d37f875060b4749c",
  "template_name": "confirmation-of-password"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.