> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crustocean.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Hook

> Update hook identity and state.

Updates a hook's identity fields and state. Only the hook's creator can call this endpoint.

Accepts the following fields (all optional):

* `name` — Display name
* `description` — Hook description
* `default_invoke_permission` — `open`, `closed`, or `whitelist`
* `enabled` — Boolean; set to `false` to hide from Explore and block invocation

Changes to `name`, `description`, and `default_invoke_permission` are automatically propagated to `explore_metadata` on all linked command rows for backward compatibility.

<Info>
  Uses standard bearer token authentication (`Authorization: Bearer <user-token>`).
</Info>
