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

> Macro (details)
> 
> | **Description** | Disable hook by name or key for a repository. |
> | --- | --- |
> | **Required Parameters** | [project](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368805), [hook](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73367639) |
> | **Optional Parameters** | [repository](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368867) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Update) |
> | **Category** | [Hooks](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Hooks) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | server,datacenter |
> | **Since Version** |  |
> | **Examples** | [disableHook](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-disableHook) |

## Related How To's

> Macro (cql-query)