diff --git a/packages/enterprise/src/routes/api/[...path].ts b/packages/enterprise/src/routes/api/[...path].ts index 54c6906d3..4677d68d3 100644 --- a/packages/enterprise/src/routes/api/[...path].ts +++ b/packages/enterprise/src/routes/api/[...path].ts @@ -139,7 +139,7 @@ app return c.json({}) }, ) - .post("/support/actions/remove-share", async (c) => { + .delete("/support/actions/remove-share", async (c) => { const authorization = c.req.header("authorization") const expected = `Bearer ${(Resource as unknown as Record).SUPPORT_API_KEY.value}` const actual = Buffer.from(authorization ?? "")