- NAME
-
- gcloud scc manage custom-modules sha delete - delete a Security Health Analytics custom module
- SYNOPSIS
-
-
gcloud scc manage custom-modules sha deleteMODULE_ID_OR_NAME[--validate-only] [--folder=FOLDER_ID|--organization=ORGANIZATION_ID|--parent=PARENT|--project=PROJECT_ID_OR_NUMBER] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete a Security Health Analytics custom module. User specifies the custom module as well as the parent of the module to delete. A validation_only flag is optional. When set to true only validations (including IAM checks) will done for the request (module will not be deleted).
- EXAMPLES
- To delete an Security Health Analytics custom module with ID
123456for organization123, run:gcloud scc manage custom-modules sha delete 123456 --organization = 123To delete a Security Health Analytics custom module with ID
123456for folder456, run:gcloud scc manage custom-modules sha delete 123456 --folder = 456To delete a Security Health Analytics custom module with ID
123456for project789, run:gcloud scc manage custom-modules sha delete 123456 --project = 789You can also specify the parent more generally:
gcloud scc manage custom-modules sha delete 123456 --parent = organizations/123Or just specify the fully qualified module name:
gcloud scc manage custom-modules sha delete organizations/123/locations/global/securityHealthAnalyticsCustomModules/123456 - POSITIONAL ARGUMENTS
-
-
MODULE_ID_OR_NAME - The custom module ID or name. The expected format is {parent}/[locations/global]/securityHealthAnalyticsCustomModules/{module_id} or just {module_id}. Where module_id is a numeric identifier 1-20 characters in length. Parent is of the form organizations/{id}, projects/{id or name}, folders/{id}.
-
- FLAGS
-
-
--validate-only - If present, the request is validated (including IAM checks) but no action is taken.
- At most one of these can be specified:
-
--folder=FOLDER_ID - Folder associated with the custom module.
-
--organization=ORGANIZATION_ID - Organization associated with the custom module.
-
--parent=PARENT - Parent associated with the custom module. Can be one of organizations/<id>, projects/<id or name>, folders/<id>
-
--project=PROJECT_ID_OR_NUMBER - Project associated with the custom module.
-
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This variant is also available:
gcloud alpha scc manage custom-modules sha delete
gcloud scc manage custom-modules sha delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

