Tenant Templates
Create or Update a Tenant Template
Changed onCreates or updates a notification template scoped to one tenant, letting a tenant override the content the workspace template would send.
put/tenants/{tenant_id}/templates/{template_id}
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant_idstring required
Id of the tenant for which to create or update the template.
template_idstring required
Id of the template to be created or updated.
Request body
Example request
{
"template": {
"content": {
"elements": [
{
"channel": "email"
}
]
}
}
}Response
Template updated successfully
Changes
- breaking
removed
subschema #1subschema #3subschema #7from the///request propertyoneOflist - info
added
subschema #1subschema #3subschema #7to the///request propertyoneOflist
- breaking
- info
api tag
Tenant Templatesadded - info
api tag
Courier Createremoved
- info