Performs batch undelete operation on alerts.
HTTP request
POST https://alertcenter.googleapis.com/v1beta1/alerts:batchUndelete
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 |
Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The |
alertId[] |
Required. The list of alert IDs to undelete. |
Response body
Response to batch undelete operation on alerts.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"successAlertIds": [
string
],
"failedAlertStatus": {
string: {
object ( |
Fields | |
---|---|
successAlertIds[] |
The successful list of alert IDs. |
failedAlertStatus |
The status details for each failed |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.alerts
For more information, see the Authorization guide.