Update the URLs to be at /environment/UUID/api instead of just /UUID/api.