Expose jmx-exporter metrics , on different URL

I need to expose jmx-exporter metrics on a different url than “/metrics” example “/ container name/api/metrics”
And specify the path from config.yaml
Any help please