PATCH
/
notification-service
/
api
/
v1
/
webhook-endpoints
/
{id}
/
enabled
/
{enabled}
curl --request PATCH \
  --url https://notification-service.vatis.tech/notification-service/api/v1/webhook-endpoints/{id}/enabled/{enabled} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "enabled": true,
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Webhook endpoint id

enabled
enum<string>
required
Available options:
true,
false

Response

200
application/json
Operation succeeded.
id
string
url
string
events
string[]
enabled
boolean
description
string