16159: Merge branch 'master' into 16159-token-expiration-on-logout
[arvados.git] / lib / controller / router / router.go
index d7096ab9f457a92c7e07e3a7fb70710bb7bbb6c5..a313ebc8bed94c5b5b7e32b6c086644b4faae77f 100644 (file)
@@ -284,6 +284,13 @@ func (rtr *router) addRoutes() {
                                return rtr.backend.GroupDelete(ctx, *opts.(*arvados.DeleteOptions))
                        },
                },
+               {
+                       arvados.EndpointGroupTrash,
+                       func() interface{} { return &arvados.DeleteOptions{} },
+                       func(ctx context.Context, opts interface{}) (interface{}, error) {
+                               return rtr.backend.GroupTrash(ctx, *opts.(*arvados.DeleteOptions))
+                       },
+               },
                {
                        arvados.EndpointGroupUntrash,
                        func() interface{} { return &arvados.UntrashOptions{} },