---
title: "Clear agent session-start hook"
method: DELETE
path: "/v1/agents/{id}/session-start-hook"
---

# Clear agent session-start hook

`DELETE /v1/agents/{id}/session-start-hook`

## Request

- Base URL: `https://api.runbear.io`
- URL: `https://api.runbear.io/v1/agents/{id}/session-start-hook`
- Auth: HTTP bearer

Remove the agent's session-start hook. The Custom MCP integration itself is left intact. Idempotent — succeeds whether or not a hook was set. Returns 404 only when the agent is not found or its provider does not support tool integrations.

## Path parameters

- `id` string, uuid, required: Agent ID

## Response `204`

Hook cleared

## Other responses

- `404`: Default Response

---

[API](https://skmtc.dev/runbear/apis/runbear-api.md) - [All operations](https://skmtc.dev/runbear/apis/runbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runbear/apis/runbear-api/revisions/c6a9c3066a5a?raw)
