diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php
index e65dc23004672c015aeb4c43b4d55c5db87a6db7..63e7b9b6202a9ad6bac5fdad1a632c085fee29cd 100644
--- a/lib/public/route/irouter.php
+++ b/lib/public/route/irouter.php
@@ -29,6 +29,7 @@ namespace OCP\Route;
  *
  * @package OCP\Route
  * @since 7.0.0
+ * @deprecated 9.0.0
  */
 interface IRouter {
 
@@ -44,6 +45,7 @@ interface IRouter {
 	/**
 	 * @return string
 	 * @since 7.0.0
+	 * @deprecated 9.0.0
 	 */
 	public function getCacheKey();