Change the state of an alert.
post/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate
Path parameters
subscriptionIdstring required
The ID of the target subscription.
alertIdstring required
Unique ID of an alert instance.
Query parameters
api-version'2019-05-05-preview' required
client API version
newState'New' | 'Acknowledged' | 'Closed' required
New state of the alert.
Request body
Response
OK. Alert state updated.