Lease documents

Delete a lease document

Removes a lease document.

DELETE
https://api.portal.magicdoor.com/company-app/lease-documents/{leaseDocumentId}

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

leaseDocumentIdstringrequired

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

example: 1842019384756201984

Response

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

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

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