organizations

Deletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed.

delete/v1/{+name}

Request

  • Base URL: https://securityposture.googleapis.com
  • URL: https://securityposture.googleapis.com/v1/{+name}
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

namestring required

Required. The name of the Posture, in the format organizations/{organization}/locations/global/postures/{posture_id}.

Query parameters

etagstring

Optional. An opaque identifier for the current version of the posture. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error. If you omit this value, then the posture is deleted regardless of its current etag value.

Response

Successful response

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id securityposture.organizations.locations.postureDeployments.delete removed and replaced with securityposture.organizations.locations.postures.delete

    • info

      api operation id securityposture.organizations.locations.postures.delete removed and replaced with securityposture.organizations.locations.postureDeployments.delete