Delete a letter document template
Removes a Word-document letter template and returns it one last time. Requires the letter_templates:delete permission.
Authorization
AuthorizationstringrequiredPath parameters
letterDocumentTemplateIdstringrequiredThe letter document template to delete. A 64-bit number sent as a string.
Response
200 · The template as it was at the moment it was deleted. `filePublicUrl` is not part of this response.
idstringrequiredThe letter document template. A 64-bit number sent as a string.
letterTemplateGroupIdstringThe group this template is filed under. Absent while it is ungrouped.
namestringThe name shown to the property manager. Absent when the template was created without one.
communicationChannelsenum<string>[]requiredThe kinds of recipient this template can be addressed to.
documentIdstringrequiredThe document that holds the Word file behind this template. Pass it to nothing else in this reference — it is the handle the editor uses.
createdstring · date-timerequiredWhen the template was created, in the company's timezone and with no offset.
updatedstring · date-timerequiredWhen the template row was last changed, in the company's timezone and with no offset.