| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/scc/posture_deployments/ |
Upload File : |
- release_tracks: [ALPHA, GA]
command_type: GENERIC
help_text:
brief: Delete a Cloud Security Command Center (SCC) posture deployment.
description: |
Delete a Cloud Security Command Center (SCC) posture deployment.
examples: |
Delete the posture deployment named `organizations/123/locations/global/postureDeployments/posture-deployment-foo` (i.e. a posture deployment in organization `123`, location `global`, with id `posture-deployment-foo`):
$ {command} organizations/123/locations/global/postureDeployments/posture-deployment-foo
Delete the posture deployment named `organizations/123/locations/global/postureDeployments/posture-deployment-foo` (i.e. a posture deployment in organization `123`, location `global`, with id `posture-deployment-foo`)
for the ETAG ABcdO1Rf5clu7Yhlkwgelo7Vl4tiqd7Sy5iP5SdkSVU
$ {command} organizations/123/locations/global/postureDeployments/posture-deployment-foo --etag=ABcdO1Rf5clu7Yhlkwgelo7Vl4tiqd7Sy5iI5SdkSVU
request:
collection: securityposture.organizations.locations.postureDeployments
api_version: v1alpha
method: delete
GA:
api_version: v1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.scc.resources:posture_deployment
help_text: |
The posture deployment to delete. For example organizations/<organizationID>/locations/<location>/postureDeployments/<postureDeploymentID>.
params:
- arg_name: etag
api_field: etag
required: false
help_text: |
Etag is an optional flag. If the provided Etag doesn't match the server generated Etag, the delete operation won't proceed.
input:
confirmation_prompt: |
You are about to delete posture deployment [{__name__}]. All the deployed policies of this posture will get removed.
async:
collection: securityposture.organizations.locations.operations
extract_resource_result: false
output:
format: yaml