CLI reference

Undeploy CLI command reference

Removes the deployed studio from <your-studio-name>.sanity.studio.

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?