Method: organizations.locations.eventThreatDetectionCustomModules.delete

Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.

HTTP request

DELETE https://securitycentermanagement.googleapis.com/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{eventThreatDetectionCustomModule}".

Query parameters

Parameters
validateOnly

boolean

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be deleted). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually delete the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or 2. A failure occurred while trying to delete the module.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

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:

  • securitycentermanagement.eventThreatDetectionCustomModules.delete

For more information, see the IAM documentation.