Lease renewals

Delete a renewal offer on a lease

Removes a renewal offer from the lease, checking that the offer really belongs to the lease in the path.

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

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 the offer is on. A Snowflake id, sent as a decimal string.

example: 1830472847398404096
offerIdstringrequired

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

example: 1841029384756201984

Response

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

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

404 · No renewal offer on this lease matched the id, or it belongs to another company.