diff --git a/server/auth/internal/handler/routes.go b/server/auth/internal/handler/routes.go index 121d86c8..f8f1c8c4 100644 --- a/server/auth/internal/handler/routes.go +++ b/server/auth/internal/handler/routes.go @@ -54,7 +54,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { }, { Method: http.MethodPost, - Path: "/api/debug/auth/delete", + Path: "/api/auth/debug/delete", Handler: DebugAuthDeleteHandler(serverCtx), }, }, diff --git a/server_api/auth.api b/server_api/auth.api index eeddb5e5..089aab6d 100644 --- a/server_api/auth.api +++ b/server_api/auth.api @@ -35,7 +35,7 @@ service auth { post /api/auth/reset/password(RequestUserResetPassword) returns (response); @handler DebugAuthDeleteHandler - post /api/debug/auth/delete(RequestAuthDelete) returns (response); + post /api/auth/debug/delete(RequestAuthDelete) returns (response); } type (