Rewrite url to the root in the gateway

Is there a way to rewrite the url to the root in the gateway? Like this:

  - match:
    - uri: 
        prefix: "/withdrawal"
    rewrite:
      uri: ""

Request routing done in VirtualService not gateway.

If you looking for something to be done at ingress. Can take look at envoy filter.