First discussed at https://answers.netlify.com/t/netlify-redirect-splat-subdomain/22983.

/api/:org/* https://:org.netlify.rodeo/:splat

Try navigating to https://redirect-subdomain-splat.netlify.rodeo/api/redirect-dummy-query-string/demo – the subdomain will change!