Update a Notification Template
put
/api/v2/notification_templates/{id}/
Make a PUT or PATCH request to this resource to update this notification template. The following fields may be modified:
name: Name of this notification template. (string, required)description: Optional description of this notification template. (string, default="")organization: (id, required)notification_type: (choice, required)email: Emailgrafana: Grafanairc: IRCmattermost: Mattermostpagerduty: Pagerdutyrocketchat: Rocket.Chatslack: Slacktwilio: Twiliowebhook: Webhook
notification_configuration: (json, default={})messages: Optional custom messages for notification template. (json, default={'started': None, 'success': None, 'error': None, 'workflow_approval': None})
For a PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search: string
A search term.
Root Schema : schema
Type:
Show Source
object-
description:
string
-
messages:
string
Optional custom messages for notification template.
-
name(required):
string
-
notification_configuration:
string
-
notification_type(required):
string
-
organization(required):
integer