PUT
/
api
/
webhooks
/
configs
/
{id}
curl --request PUT \
  --url http://localhost:55001/api/webhooks/configs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "customer_payment",
  "endpoint": "https://example.com",
  "secret": "V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3",
  "eventTypes": [
    "TYPE1",
    "TYPE2"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Config ID

Example:

"4997257d-dfb6-445b-929c-cbe2ab182818"

Body

application/json

Response

200

Config successfully updated.