---
title: "updateWebhook"
canonical: "https://support.appfire.com/space/SCLI/73370279/updateWebhook"
format: markdown
---
See also: [Actions](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368507)

> Macro (details)
> 
> | **Description** | Update an existing user defined webhook. Use '--options enable' or '--options disable' to change the status of the webhook. Use --options "secret=..." to change the data integrity verification string. For Post Webhooks for Bitbucket users, use '--options postWebhooks'. |
> | --- | --- |
> | **Required Parameters** | [project](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368805), [repository](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368867), ([id](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370775) or [name](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368765)) |
> | **Optional Parameters** | [url](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371525), [events](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371044), [options](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371383), [field](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371343) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Update) |
> | **Category** | [Webhooks](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Webhooks) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** | 9.6 |
> | **Examples** | [updateWebhook](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-updateWebhook) |

## Related How To's

> Macro (cql-query)