Related: How to add path prefix to api endpoints?
It does not seem it has actually been fixed: https://github.com/containous/traefik/issues/5853
There were some vaguely related fixes in the general area, but it seems that you still cannot host the dashboard on the arbitrary prefix, because the /api
path is hardcoded.