Enable an Alert
This operation enables an alert.
Path Parameters
- alertId2 string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Successfully enabled the alert : d57f9a30-70ec-4224-970f-07af6ac73c4d",
"errorCode": 0
}
POST /alertrule/:alertid2/action/enable
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Enable' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'