[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Modify Alerts

Description

Modify multiple Alerts by looking them up using their identifiers and performing one of the following actions - Suspend, Cancel,Take Ownership, Release Ownership Examples:
POST /api/alerts?action=suspend&minutes=1
POST /api/alerts?action=cancel
POST /api/alerts?action=takeownership
POST /api/alerts?action=releaseownership
POST /api/alerts?action=assignownership

Request

Request

URL

URL


post
https://localhost/suite-api/api/alerts
Copy

Query Parameters

Query Parameters

string
action Required

The action to take


integer
minutes Optional

The number of minutes to suspend an alert. Required when action is Suspend, otherwise ignored.


integer
page Optional

Page number from which data needs to be displayed (0-based)


integer
pageSize Optional

Expected number of entries per page


string
userAccountID Optional

User Account identifier. Optional request parameter that is applicable when action is assignownership.


Request Body

Request Body

uuid-values of type(s) application/json, application/xml Required

Identifiers of the Alerts

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns Alerts of type(s) application/json, application/xml

The Alerts on which the action has been performed

Errors

Errors

500

Error occurred while performing the specified action

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"uuids":["string"]}' https://localhost/suite-api/api/alerts?action=string