Skip to main content
PUT
/
v1
/
admin
/
notifications
/
email-templates
/
{type}
Update email template
curl --request PUT \
  --url http://localhost:3000/v1/admin/notifications/email-templates/{type} \
  --header 'Content-Type: application/json' \
  --data '
{
  "subject": "<string>",
  "body": "<string>",
  "is_enabled": true
}
'
{
  "template": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "notification_type": "<string>",
    "subject": "<string>",
    "body_html": "<string>",
    "body_text": "<string>",
    "is_enabled": true,
    "available_variables": [
      "<string>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Path Parameters

type
string
required

Body

application/json
subject
string
body
string
is_enabled
boolean

Response

Updated template

template
object
required