'Can't delete a Sanity project

I recently set up a new Sanity project via the CLI, but accidentally used the wrong file path. Now I'm unable to delete the project from within Sanity via Project > Settings > Delete Project. I keep getting a vague error "Could not delete project." Has anyone else run into this?



Solution 1:[1]

Of course, my problem ended up being a matter of org permissions. I was set to developer and not administrator — changing that fixed my issue.

If anyone from Sanity sees this, although it might seem obvious in hindsight, I'd maybe suggest updating the error message to be more descriptive.

Solution 2:[2]

simply go to this address and delate https://www.sanity.io/manage/personal/projects

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 n8mandreza
Solution 2 kiya legesse