Reset an invite template
Puts a built-in template's name and wording back to MagicDoor's defaults, discarding the company's edits. Templates the company created itself cannot be reset. Requires the settings:write permission.
Authorization
AuthorizationstringrequiredPath parameters
idstringrequiredThe template's Snowflake id, as returned by the list endpoint.
Response
200 · The template, back at its defaults.
idstringrequiredThe template's Snowflake id, as a decimal string.
kindenum<string>requiredWhich message in the invite sequence this template is. Everything the company creates itself is Custom.
namestringrequiredWhat the template is called in the settings screen.
isCustombooleanrequiredtrue for templates the company created, false for MagicDoor's built-in ones. Only custom templates can be deleted, and only built-in ones can be reset.
emailobjectrequiredThe email version of the message.
textobjectrequiredThe text-message version of the message.
updatedAtstringrequiredWhen the template was last saved, formatted as yyyy-MM-dd HH:mm. Unlike timestamps elsewhere in the API this is a display string, not an ISO 8601 value.
updatedByNamestringThe property manager who last saved it, as a first name and last initial. Absent when the last save was not made by a property manager.