The request body contains data with the following structure:
JSON representation
{"customerId": string,"alertId": [string]}
Fields
customerId
string
Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The customerId must have the initial "C" stripped (for example, 046psxkn). Inferred from the caller identity if not provided. Find your customer ID.
alertId[]
string
Required. The list of alert IDs to delete.
Response body
Response to batch delete operation on alerts.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-22 UTC."],[[["The API endpoint to batch delete alerts is `POST https://alertcenter.googleapis.com/v1beta1/alerts:batchDelete`."],["The request body requires a list of alert IDs to delete and optionally, the customer ID."],["The response body includes lists of successfully deleted alert IDs and any failed deletions with their status details."],["Authorization requires the `https://www.googleapis.com/auth/apps.alerts` scope."]]],["This outlines a batch delete operation for alerts via a POST request to `https://alertcenter.googleapis.com/v1beta1/alerts:batchDelete`. The request body requires a `customerId` (optional) and a list of `alertId` strings to delete. The response includes `successAlertIds` and `failedAlertStatus` lists, with the latter detailing any errors. The operation needs `https://www.googleapis.com/auth/apps.alerts` OAuth scope for authorization.\n"]]