sagcc delete repository
Deletes a registered product or fix repository.
Syntax
Command Central syntax:
sagcc delete repository {products | fixes} repo_name
[deleteImage={true | false}] [options]
options:
[--force]
Not supported by
Platform Manager.
Arguments and Options
Argument or Option | Description |
repo name | Required. Specifies the name of the repository that you want to delete. |
[deleteImage={true | false}] | Optional. Whether to delete the image file referenced by the repository from the file system. Valid values: true Delete the image file. false (default) Do not delete the image file. When you do not include this argument, Command Central does not delete the image file from the file system. |
[options] | Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options. |
Examples When Executing on Command Central
To delete a repository with name “repo1” including the image file that the repository references:
sagcc delete repository products REPOSITORY-repo1 deleteImage=true
sagcc delete repository fixes REPOSITORY-repo1 deleteImage=true
To delete a product repository with name “test” without deleting the image file that the repository refers to:
sagcc delete repository products test