Deletes a custom cloud control, including all its major and minor revisions. Consider the following:
- You can't delete built-in cloud controls. You can only delete cloud controls with type
CUSTOM
. - You can't delete cloud controls if any of the versions are referenced by a framework.
- You can't restore a deleted cloud control. This action is permanent.
HTTP request
DELETE https://cloudsecuritycompliance.googleapis.com/v1/{name=organizations/*/locations/*/cloudControls/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the cloud control to delete, in the format |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
cloudsecuritycompliance.cloudControls.delete
For more information, see the IAM documentation.