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

Update Alert Definition

Description

Update an existing Alert Definition

Request

Request

URL

URL


put
https://localhost/suite-api/api/alertdefinitions
Copy

Request Body

Request Body

alert-definition of type(s) application/json, application/xml Required

The Alert Definition to update

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AlertDefinition of type(s) application/json, application/xml

The updated Alert Definition

Errors

Errors

404

No Alert Definition has been found for it to be updated

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"adapterKindKey":"string","cancelCycles":0,"description":"string","id":"string","name":"string","resourceKindKey":"string","states":[{"impact":{"detail":"string","impactType":"BADGE"},"recommendationPriorityMap":{"key":0},"severity":"UNKNOWN","symptoms":{}}],"subType":0,"type":0,"waitCycles":0}' https://localhost/suite-api/api/alertdefinitions


Feedback

Was this page helpful?