Bulk Deleting Unnecessary Sites Using Netlify CLI
I had accumulated a large number of Netlify sites, so here is a summary of the steps I took to bulk delete them using the CLI. Background The number of Netlify sites created during development and testing had grown to 41. Since only a few sites were currently in use, I decided to delete the old sites in bulk. Environment macOS Node.js netlify-cli v23.15.1 Steps 1. Install Netlify CLI n p m i n s t a l l - g n e t l i f y - c l i 2. Login n e t l i f y l o g i n A browser will open and display the Netlify authentication screen. After authorizing, the token will be saved to the CLI. ...