Lease tenants

Move a tenant out of a lease

Marks a tenant as moved out of the lease. The tenant stays on the lease's history with a move-out date rather than disappearing, and the lease itself carries on.

DELETE
https://api.portal.magicdoor.com/company-app/leases/{leaseId}/tenants/{tenantId}

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

leaseIdstringrequired

The lease to change. A Snowflake id, sent as a decimal string.

example: 1830472847398404096
tenantIdstringrequired

The tenant to move. A Snowflake id, sent as a decimal string.

example: 1831856473920184832

Response

200 · The tenant was moved out. No body is returned.

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

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