Enables an alert rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /alerts/{alertName}?action=enable HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
alertName | string | Yes | The ID of the alert rule. | alert-0123456789-123456 |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.