Enable Alerts
Applies To: Windows Server 2012 Essentials
Enables an ignored alert.
URI Template
POST services/builtin/AlertManagement.svc/alert/enable?alertKey={alertKey}
{alertKey}
The key of the alert.
Sample Request
POST https://www.contoso.com/services/builtin/AlertManagement.svc/alert/enable?alertKey=S-1-5-21-803684111-2214504341-3166393602-1000$MicrosoftBase$GracePeriodExpiredRetail HTTP/1.1
Accept: application/xml
Cookie: ASP.NET_SessionId=********************
Canary: *********************
Host: domainname
Content-Length: 0
Sample Response
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 83
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
Date: Mon, 31 Oct 2011 08:03:18 GMT
Error Codes
Error Code | Error Message |
---|---|
400 | One or more parameters are not valid. |
401 | Access is denied to the requested resource. |
404 | The path does not exist. |