CLI reference
Undeploy CLI command reference
Removes the deployed studio from <your-studio-name>.sanity.studio.
USAGE $ sanity undeploy FLAGS -y, --yes Unattended mode, answers "yes" to any "yes/no" prompt and otherwise uses defaults DESCRIPTION Removes the deployed Sanity Studio/App from Sanity hosting
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.