Delete a Post-Appointment Message Template
DELETE
/businesses/{businessId}/notifications/post-appointment-message-templates/{postAppointmentMessageTemplateId}
const url = 'https://api.upvio.com/v1/businesses/example/notifications/post-appointment-message-templates/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.upvio.com/v1/businesses/example/notifications/post-appointment-message-templates/example \ --header 'Authorization: Bearer <token>'Soft-delete a post-appointment message template.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” businessId
required
The ID of the Business.
string
postAppointmentMessageTemplateId
required
The ID of the Post-Appointment Message Template.
string
Responses
Section titled “ Responses ”Confirmation of deletion.
Post-Appointment Message Template not found.
Media type application/json
object
error
object
code
number
title
string
Example
{ "error": { "code": 404, "title": "Not Found" }}