diff --git a/server/endpoints/api/system/index.js b/server/endpoints/api/system/index.js
index da941bd8d8963890c6abc35bc90ed98b0a4c706c..7fdb92cc84d226ccfc657026c192101860d05f71 100644
--- a/server/endpoints/api/system/index.js
+++ b/server/endpoints/api/system/index.js
@@ -262,7 +262,10 @@ function apiSystemEndpoints(app) {
       try {
         const { names } = reqBody(request);
         for await (const name of names) await purgeDocument(name);
-        response.status(200).json({ success: true, message: 'Documents removed successfully' }).end();
+        response
+          .status(200)
+          .json({ success: true, message: "Documents removed successfully" })
+          .end();
       } catch (e) {
         console.log(e.message, e);
         response.sendStatus(500).end();
diff --git a/server/swagger/openapi.json b/server/swagger/openapi.json
index adc843f38c6c495a8fb61744ead43b79afbdbcfe..230f0ce6604462278a0e4a0aa06c17dbd7d4573d 100644
--- a/server/swagger/openapi.json
+++ b/server/swagger/openapi.json
@@ -2251,7 +2251,7 @@
         "parameters": [],
         "responses": {
           "200": {
-            "description": "OK",
+            "description": "Documents removed successfully.",
             "content": {
               "application/json": {
                 "schema": {
@@ -2306,19 +2306,6 @@
           }
         }
       }
-    },
-    "components": {
-      "schemas": {
-        "InvalidAPIKey": {
-          "type": "object",
-          "properties": {
-            "error": {
-              "type": "string",
-              "example": "Invalid API Key"
-            }
-          }
-        }
-      }
     }
   },
   "components": {