PatchWebhookConfigurationDto
{
"id": "78e7e0cd-7666-4b78-b123-7d0aac711b33",
"name": "test_webhook_configuration",
"type": "WEBHOOK",
"cspOrgId": "45bd46ae-8bc8-4115-9e72-28c89292c992",
"createdBy": "[email protected]",
"createdAt": "2023-04-27 06:02:20.675",
"lastUpdatedBy": "[email protected]",
"lastUpdatedAt": "2023-04-27 06:02:20.675",
"url": "https://hooks.slack.com/services/SmafV7DQ1f3zJz4VpraTdT0q",
"contentType": "application/json",
"payload": "{\n \"attachments\": [\n {\n \"author_name\": \"VMware Aria Operations for Logs\",\n \"title\": \"Alert Triggered : [${severity}] ${name}\",\n \"title_link\": \"${resultsUrl}\",\n \"fields\": [\n {\n \"title\": \"At Time\",\n \"value\": \"${triggeredAt}\"\n },\n {\n \"title\": \"Description\",\n \"value\": \"${description}\"\n },\n {\n \"title\": \"Recommendation\",\n \"value\": \"${recommendations}\"\n }\n ],\n \"color\": \"#008ab1\"\n }\n ]\n}",
"action": "PUT",
"webhookType": "ALERT_NOTIFICATION",
"userName": "test_user",
"password": "******",
"customHeaders": {
"Authorization": "Bearer LQSe7oYM1tjf770o6cQPIQAmaha6Eyu9"
},
"endpointType": "SLACK",
"endpointProperties": {
"Authorization": "Bearer LQSe7oYM1tjf770o6cQPIQAmaha6Eyu9"
},
"force": false
}
Unique notification configuration identifier
Unique notification configuration name
Unique notification configuration name
Associated org with the notification
Email of user who created this notification
Time at which notification was created
Email of user who updated this notification
Time at which notification was last updated
Destination url of the webhook notification.
Indicates the original media type of the webhook payload
Represents the payload/template of the webhook configuration
Indicates the webhook action i.e. create or update the configuration
Indicates the webhook notification type.
Email of user who created this notification
password
Indicates the webhook notification endpoint.
It represents other objects in the system have referential dependencies on this webhook. Saving changes to this webhook may cause behavioral changes in other objects.Before saving this change, be sure there are no unintended consequences on the following objects, as the previous state of this webhook can’t be retrieved. If you still want to save changes to this notification then set this parameter ‘force’ as value ’true’ with the request body while calling this Api