Custom views

Delete a custom view

Deletes one saved column layout. The built-in default view has no stored record and cannot be deleted. Requires the settings:delete permission.

DELETE
https://services.magicdoor.com/settings/company-portal/settings/custom-views/{type}/{key}

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

typeenum<string>required

Which list screen the view belongs to. Matched case-insensitively, and echoed back in viewType exactly as spelled here.

example: LeasesUnitsPropertiesLeasesLeasesWithBalanceDueDraftLeasesExpiringLeasesPastLeasesLeasesWithMoveOutRequestsLeaseRentalApplicationsPropertyApplicationsAccountingBillsMaintenanceRequestsWorkOrdersWorkOrderBillsPropertyManagersOwnersTenants
keystringrequired

The view's key — its name lowercased with every run of non-alphanumeric characters turned into a hyphen. A view's key changes when its name changes.

example: delinquent-leases

Response

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

401 · The access token is missing, expired, or invalid.

403 · The caller does not hold the `settings:delete` permission.

404 · The company has no saved view with that key for that type.