Changes to /api/dashboard/environment

put/api/dashboard/environment