# rename_deploy_hook

Source: https://modulify.ai/docs/mcp/deploy-hooks/rename-deploy-hook

Changes the name of one deploy hook.

- Title: Rename a deploy hook
- Scope: `config:write`
- Access: Makes changes

Only the label changes. The URL, whether it is on and its call log stay as they are, and the call log shows the new name from then on. See [Deploy hooks](https://modulify.ai/docs/automations/deploy-hooks#rename).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `hookId` | string | Yes | The hook id from `list_deploy_hooks`. |
| `name` | string | Yes | The new name. It cannot be empty, and it is cut to 64 characters. |