
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGood news! Running sanity undeploy will only affect the URL — it won't touch your dataset at all.
According to the Sanity deployment documentation, the sanity undeploy command is used to change the hostname later or remove the Studio from the web. When you run it, you can choose a new hostname the next time you deploy.
Your data lives in the Content Lake (the dataset), which is completely separate from how your Studio is hosted. The undeploy command only removes the deployed Studio files from the *.sanity.studio URL — it doesn't delete, modify, or affect your content in any way.
So you're safe to:
sanity undeploy to remove the current Studio URLsanity deploy again to choose a new hostnameYour dataset will remain completely untouched throughout this process!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store