# `extension.hook.deactivate` Deactivate (or reactivate) an extension's hooks without disabling the extension. - **scope**: `store:admin` - **storefront-visible** (bumps the catalog generation): no - **destructive**: no ## Payload | field | type | required | notes | |---|---|---|---| | `extensionId` | string (/^[a-z0-9-]+\.[a-z0-9-]+$/) | yes | | | `disabled` | boolean | yes | | ### JSON Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "extensionId": { "type": "string", "pattern": "^[a-z0-9-]+\\.[a-z0-9-]+$" }, "disabled": { "type": "boolean" } }, "required": [ "extensionId", "disabled" ], "additionalProperties": false } ```