# metalcloud-cli extension archive Deactivate published extension and make it unavailable ## Synopsis Deactivate a published extension making it unavailable for use across the platform. This command archives an active extension, changing its status from active to archived. Archived extensions are no longer available for use in workflows, applications, and actions, but their definitions and history are preserved. Archiving is useful when you want to retire an extension without permanently deleting it. Archived extensions can be viewed but cannot be used or modified. To reactivate an archived extension, you must create a new version. Arguments: extension_id_or_label The unique ID or label of the active extension to archive Requirements: - Extension must be in active status - User must have write permissions for extensions - Extension should not be actively used in critical workflows Examples: ## Archive extension by ID metalcloud extension archive 12345 ## Archive extension by label metalcloud extension archive deprecated-workflow-v1 ``` metalcloud-cli extension archive extension_id_or_label [flags] ``` ### Options ``` -h, --help help for archive ``` ### Options inherited from parent commands ``` -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO") ``` ### SEE ALSO * [metalcloud-cli extension](/content/configuration/cli/metalcloud-cli_extension.md) - Manage platform extensions for workflows, applications, and actions #### Auto generated by spf13/cobra on 11-Aug-2025