Modify an Alert
This operation updates an alert.
Path Parameters
- alertId2 string required
- application/json
Request Body required
alertDetail object required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "AlertRule modified successfully",
"errorCode": 0
}
POST /alertrule/:alertid2/action/modify
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/AlertRule/:alertId2/Action/Modify' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alertDetail": {
"alertDetail": {
"regNonGalaxyUserList": {
"nonGalaxyUserList": [
"AddedUser@testing.com"
],
"nonGalaxyUserOperationType": 2
}
}
}
}'