Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Jonathan Leon](https://uploads.teamtreehouse.com/production/profile-photos/3639092/micro_37364114_10158583212466959_8963858409044574208_n.jpg)
Jonathan Leon
18,813 PointsDeleting multipile workspaces
I reached the 100 workspaces max, how can I delete multipile workspaces at once it's tedious to delete one by one as I progress :(
![Jonathan Leon](https://uploads.teamtreehouse.com/production/profile-photos/3639092/micro_37364114_10158583212466959_8963858409044574208_n.jpg)
Jonathan Leon
18,813 PointsThanks that's a great Treehouse solution!
Robert Richey
Courses Plus Student 16,352 PointsRobert Richey
Courses Plus Student 16,352 PointsHi Jonathan,
I came up with a hackish solution, where you can paste in some JavaScript into the dev console and it removes one workspace - without having to click three times (settings, delete, confirm).
Since the page reloads each time a workspace is deleted, it's much more non-trivial to write a script to delete them all. I image it entails telling your browser to load a script upon loading a certain page.
At any rate, feel free to use this script WITH CAUTION. Changes are permanent. Each time the code is used, it deletes the 0 element workspace, which seems to be the oldest workspace, first.
Use at your own risk of deleting a workspace you will not be able to recover.
Feel free to ask if you have any questions.
Edit: several edits have been made to the code above.
Edit2: I used this code successfully to delete my workspaces, one at a time, from oldest to newest.