CLI reference
Undeploy
Removes the deployed studio from <your-studio-name>.sanity.studio.
usage: sanity undeploy
Removes the deployed studio from .sanity.studio
Examples
sanity undeploy
The undeploy
command reads the studio host name from the sanity.cli.ts
file in your studio directory. To enable support for deploying/undeploying multiple instances, follow the CI/CD instructions in the deployment guide.
Once a studio is undeployed, the name (e.g., <your-studio-name>
) becomes publicly available. Local instances of the studio are not affected.
Was this page helpful?