Update email template
PUT/v1/email/template
This endpoint updates an existing reusable email template
Request
- application/json
Body
required
Template Update Payload
Array [
]
content
object[]
required
type stringrequired
Possible values: [text/html, text/plain]
MIME type required
value stringrequired
Email content is required
name stringrequired
subject stringrequired
template_id stringrequired
Responses
- 200
- 400
- 404
Template updated
- application/json
- Schema
- Example (from schema)
Schema
success boolean
template_id string
{
"success": true,
"template_id": "01JC3BBW8S9YGX2VNKG5MD7BTA"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Template not found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...