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.
Authorization
AuthorizationstringrequiredBearer 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>requiredWhich list screen the view belongs to. Matched case-insensitively, and echoed back in viewType exactly as spelled here.
example: LeasesUnitsPropertiesLeasesLeasesWithBalanceDueDraftLeasesExpiringLeasesPastLeasesLeasesWithMoveOutRequestsLeaseRentalApplicationsPropertyApplicationsAccountingBillsMaintenanceRequestsWorkOrdersWorkOrderBillsPropertyManagersOwnersTenants
keystringrequiredThe 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