Properties

Delete a property

Permanently removes a property and everything under it. Use deactivate instead when you only want it out of the way — deactivating leaves the record and its history intact.

DELETE
https://api.portal.magicdoor.com/company-app/properties/{propertyId}

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

propertyIdstringrequired

Snowflake id of the property, as a decimal string.

example: 1830472847398404097

Response

200 · The property was deleted. The response has no body.

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

404 · No property with that id, or it belongs to another company.

This deletes the units too

Deleting a property deletes every unit on it, and deleting a unit deletes that unit's leases and its unit listing. Its property-level settings are removed as well. None of that is recoverable through the API.