Skip to content
SHC Docs

shc license delink

remove the local license so it can move elsewhere

Drop the locally stored license so this estate falls back to trial/degraded. Freeing the activation slot in the portal so the license can move to another estate is a separate broker call; this removes the estate’s local copy.

If this estate is licensed by its DNS record, delink is not enough. It drops the local copy and the cached record, but the record itself is the grant: the next resolve reads it again and the estate comes straight back keyed. To release a DNS-carried licence, remove the TXT record, whose exact name shc license status prints, and then delink.

shc license delink [flags]
-h, --help help for delink
--config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win
-d, --debug enable debug mode (default: $SHC_DEBUG)
-e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default")
--exclude string comma-separated dotted paths to drop
--fields string comma-separated columns/keys to show (and their order)
--filter string comma-separated dotted paths to keep (drops everything else)
-o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT)
-s, --stack string stack name (default: $SHC_STACK)
-t, --tenant string tenant name (default: $SHC_TENANT)
-v, --verbose verbose output (default: $SHC_VERBOSE)