Enable Alert Custom Rule
Select
SaaS
Customer Managed
Enable the alert custom rule by using the given alert rule id
Path Parameters
- alertRuleId int32 required
Unique Id of the alert custom rule to enable it
Responses
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorCode int32
error code value
attributes object[]
{
"errorCode": 0,
"attributes": [
{
"name": "string",
"value": "string"
}
]
}
Internal Server Error
PUT /alert/customrule/:alertruleid/enable
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'