Notes

Delete a note

Removes an internal note from a record.

DELETE
https://api.portal.magicdoor.com/company-app/notes/{entityType}/{entityId}/{noteId}

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

entityTypeenum<string>required

What kind of record the notes are attached to. Matched without regard to case, so lease and Lease both work.

example: leaseleaseunitpropertyportfoliocompanytenantvendorownerpropertyManagermaintenanceRequestworkOrderbilltransactionrentalApplication
entityIdstringrequired

The record the notes are attached to — a lease id when entityType is lease, a tenant id when it is tenant, and so on.

example: 1829833104612495360
noteIdstringrequired

The note itself.

example: 1831077331442663424

Response

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

401 · The access token is missing, expired, or not valid.

404 · No note with that id belongs to your company.