Skip to main content
PATCH
/
v2
/
notifications
/
webhooks
Update Webhook
curl --request PATCH \
  --url https://api.avenia.io:8443/v2/v2/notifications/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhookId": "<string>",
  "webhookUrl": "<string>",
  "subscriptions": [
    "<string>"
  ]
}
'
{}

Update Webhook

PATCH request to /v2/notifications/webhooks

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
webhookId
string
required
webhookUrl
string
required
subscriptions
string[]
required

Response

Success

The response is of type object.