Update webhook
Information
This API allow you to update a webhook.
Link to swaggerThis endpoint is
synchronous
The role
admin
is needed in order to use this endpointEndpoints
PUT/v1/config/webhook/:webhookId
Information
You can update the whole object or only one property. The example below only update the label of the webhook.
Path parameters
webhookIdstring (uuid) - Required
Body parameters
labelstring
adapterCodestring
interopDataobject
PUT /v1/config/webhook/:webhookId
curl -X 'PUT'
'https://api.ppd.iopole.fr//v1/config/webhook/6c6147a9-b820-4627-8baf-58f32ca256a7'
-H 'accept: application/json'
-H 'Authorization: Bearer ${token}'
-H 'Content-Type: application/json'
-d '{
"label": "test"
}'
201 CREATED
{
"type": "WEBHOOK",
"id": "6c6147a9-b820-4627-8baf-58f32ca256a7"
}