# Update a webhook **PATCH /advertising/v1.0/webhooks/{webhookId}** Endpoint for updating webhooks. Webhook will be invoked as *POST http request* on provided **targetUrl** whenever specific event occurs. Specific events and their payloads are described in **WEBHOOKS section**. ## Servers - http://apis.public-staging.reas.cz: http://apis.public-staging.reas.cz () ## Authentication methods - Token ## Parameters ### Path parameters - **webhookId** (string) ### Body: application/json (object) - **event** (string) - **configuration** (object) ## Responses ### 200 Webhook successfully updated #### Body: application/json (object) - **success** (boolean) - **data** (object) ### 400 Either validation failed or related company was not found. ### 404 Webhook was not found. [Powered by Bump.sh](https://bump.sh)