diff --git a/app/static/assets/js/helper.js b/app/static/assets/js/helper.js
index 957f860..2f40de4 100644
--- a/app/static/assets/js/helper.js
+++ b/app/static/assets/js/helper.js
@@ -125,3 +125,9 @@ async function deleteLease(lease_ref) {
xhr.open("DELETE", `/-/lease/${lease_ref}`, true);
xhr.send();
}
+
+async function deleteExpiredLeases() {
+ let xhr = new XMLHttpRequest();
+ xhr.open("DELETE", `/-/leases/expired`, true);
+ xhr.send();
+}
diff --git a/app/templates/views/dashboard_leases.html b/app/templates/views/dashboard_leases.html
index 54ada93..58896fc 100644
--- a/app/templates/views/dashboard_leases.html
+++ b/app/templates/views/dashboard_leases.html
@@ -13,6 +13,9 @@
+