Update a lease template
Replaces a template's name, category, description, signer slots and boxes. signers and annotations are sent in full — anything you leave out is removed.
Authorization
AuthorizationstringrequiredPath parameters
leaseTemplateIdstringrequiredThe template to update. A Snowflake id, sent as a decimal string.
Body
application/json
leaseTemplateCategoryIdstringrequiredThe category the template should sit in. A Snowflake id, sent as a decimal string.
namestringrequiredTemplate name. 1 to 150 characters.
signersobject[]requiredThe complete list of signer slots.
annotationsobject[]requiredThe complete list of boxes on the PDF.
descriptionstringWhat the template is for.
typeenum<string>What the template is used for.
Response
200 · The updated template.
idstringId of the template. A Snowflake id, sent as a decimal string.
leaseTemplateCategoryIdstringThe category the template sits in. A Snowflake id, sent as a decimal string.
namestringTemplate name.
descriptionstringWhat the template is for.
typeenum<string>What the template is used for: a lease, a leaseRenewal, a lateRentNotice, an eviction notice, a signatureOnly page, or an information sheet.
isDefaultbooleanTrue for MagicDoor's built-in templates, false for ones the company added.
signersLeaseTemplateSigner[]The signer slots defined on the template.
annotationsLeaseDocumentAnnotation[]The boxes placed on the template's PDF.
fileobjectThe template's stored PDF.
fileIdstringdeprecatedUse file.id.
fileNamestringdeprecatedUse file.name.
fileExtensionstringdeprecatedUse file.extension.
signedUrlstringdeprecatedUse file.secureUrl.raw.
contentTypestringdeprecatedUse file.contentType.
fileSizeintegerdeprecatedUse file.size.