PATCH
/
notification
/
v1
/
connect
/
webhook
/
subscriptions
/
{id}
curl --request PATCH \
  --url https://api.eka.care/notification/v1/connect/webhook/subscriptions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "signing_key": "newsecretkey"
}'
{
  "status": "webhook updated successfully",
  "msg": "success"
}

Authorizations

Authorization
string
header
required

The API requires a Bearer token in the Authorization header for authentication.

Path Parameters

id
string
required

The unique identifier of the webhook to be updated.

Body

application/json
signing_key
string

A new signing key for securing webhook payloads. This should replace the existing signing key securely.

Response

200
application/json
Webhook updated successfully.
status
string

A message indicating the status of the response.

msg
string

A message indicating the status of the response`.