Subscriber Notification Template
Update Subscriber Notification Template
Endpoint to update an existing Subscriber Notification Template
put/status-page-subscriber-notification-template/{id}
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Subscriber Notification Template to update
Request body
Example request
{
"data": {
"templateName": "Example Text",
"eventType": "Example Text",
"notificationMethod": "Example Text",
"templateBody": null
}
}Response
Updated successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"templateName": "Example Text",
"templateDescription": "This is an example of longer text content that provides detailed information.",
"eventType": "Example Text",
"notificationMethod": "Example Text",
"emailSubject": "Example Text",
"templateBody": null,
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.