Lease templates

Delete a lease template

Removes a lease template. Documents already built from it are unaffected.

DELETE
https://api.portal.magicdoor.com/company-app/lease-templates/{leaseTemplateId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

leaseTemplateIdstringrequired

The template to delete. A Snowflake id, sent as a decimal string.

example: 1843019384756201984

Response

200 · The template was deleted. No body is returned.

401 · The access token is missing, expired, or not for this company.

404 · No lease template matched the id, or it belongs to another company.