Skip to main content
Version: 1.0.0

Update webhook

Information

This API allow you to update a webhook.

Link to swagger
This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

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

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"
}