Update a push notification content template
Updates information on the specified push notification content template of an application. The two types of content templates can be retrieved by specifying either default
or alternative
in the endpoint.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
template_name | string | Specifies the name of a template used for push notifications. Acceptable values are |
Request body
The following table lists the properties of an HTTP request that this action supports.
Required
Property name | Type | Description |
---|---|---|
template | nested object | Specifies the types of push notification content templates. A content template contains formats for text messages, file messages, and admin messages. |
template.MESG | string | Specifies a format for text messages. The two fields of the format are |
template.FILE | string | Specifies a format for file messages. The two variables for the format are |
template.ADMM | string | Specifies a format for admin messages. The field of the format is |
Response
If successful, this action returns the information on the updated push notification content template in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.