Summary:
Modify a specified custom webhook event.
URL:
http(s)://{server hostname}/api/webhooks/endpoints/{endpoint ID}
Methods summary
- PUT Method - modify a specified custom webhook event.
PUT Method detail
Modifies the specified custom webhook event.
Request:
Name | Description |
---|---|
eventName | name of the custom webhook event. |
eventDescription | description of the event. This is informational only. |
eventID | ID of the event. |
eventSeverity |
severity of the event, select from: 2 - Info 4 - Minor 6 - Major 8 - Severe 10 - Critical |
Response:
Returns a Maintenance Settings object. See Maintenance Settings.
Example:
INPUT
curl -k -u admin:admin https://localhost/api/webhooks/events/17 -X PUT -H "content-type:application/json" -d \
{
"eventName" : "Test Event Name",
"eventDescription" : "Test Event Description",
"eventID" : 17,
"eventSeverity" : 6
}'
OUTPUT
{
"successCount" : 1,
"failureCount" : 0,
"errorCode" : 0,
"message" : "Succeeded to edit Webhook event '17'.",
"otherResults" : [ ]
}
Comments
0 comments
Please sign in to leave a comment.