put https://api.thredd.com/eds/api/v1/Webhooks/
This endpoint updates the webhook details of the specified the WebhookId. Note: The program manager code and status cannot be altered.
You must include all webhook details in the request, regardless of whether they are being altered. Note: You will either need to save this information upon webhook creation or initiate a 'GET' request beforehand.
The request requires path parameters in a valid GUID format.
Sample request:
PUT api/v1/Webhooks/af2d48de-2ad7-42f8-a252-8422cd9e6078
{
"productId": 1234,
"events": [
101,
102
],
"config":
{
"url": "https://client_domain.com/webhook",
"customHeaders":
{
"header1": "value 1",
"header2": "value 2",
"header3": "value 3"
}
}
}
DocumentationFor more information on how to update webhook details, see Manage Webhook Details.