Update an email template
PUT/api/v1/Email/templates/:id
Updates the email template and returns the saved template. The template to update is identified by the id in the request body, so keep it the same as the ID in the path.
Permission required: Admin role (or the App role).
Values for emailSettings.type: 0 = Generic, 1 = ConnectionProfile, 2 = EmailSettings, 3 = System.
Caution: The change applies immediately to every message later built from this template.
Request
Responses
- 200
- 400
- 403
The template was updated. The body is the saved template.
The request failed. The body is an error message.
The signed-in user does not have the required role, or the account has read-only access.