Netlify Redirect - Splat Subdomain

I’m trying to create a redirect rule that achieves the following:

Any request that arrives at to be redirected to Can I achieve that using this configuration in my netlify.toml?

from = “/api/:ORG/*”
to = “”
status = 200
force = true

You can certainly do this! I’ve prepped a little demo here:

I’ve written it using _redirects but the same principle applies!

You can even try navigating to which will send you to (but it’ll error as the test subdomain doesn’t exist).