Method: alerts.batchDelete

Performs batch delete operation on alerts.

HTTP request

POST https://alertcenter.googleapis.com/v1beta1/alerts:batchDelete

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "customerId": string,
  "alertId": [
    string
  ]
}
Fields
customerId

string

Optional. The unique identifier of the G Suite organization account of the customer the alerts are associated with.

alertId[]

string

Required. list of alert ids.

Response body

If successful, the response body contains data with the following structure:

Response to batch delete operation on alerts.

JSON representation
{
  "successAlertIds": [
    string
  ],
  "failedAlertStatus": {
    string: {
      object(Status)
    },
    ...
  }
}
Fields
successAlertIds[]

string

The successful list of alert ids.

failedAlertStatus

map (key: string, value: object (Status))

The status details for each failed alertId.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.alerts