---
title: "Remove the agent delegation push webhook"
method: DELETE
path: "/api/workspaces/{workspaceId}/agents/{agentId}/dispatch-webhook"
tags: ["Agents"]
---

# Remove the agent delegation push webhook

`DELETE /api/workspaces/{workspaceId}/agents/{agentId}/dispatch-webhook`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/agents/{agentId}/dispatch-webhook`
- Auth: API key in cookie `hiveship_access`

## Path parameters

- `workspaceId` string, required
- `agentId` string, required

## Response `200`

Webhook removed

- object
  - `success` boolean, required
  - `data` unknown, required

## Other responses

- `403`: Insufficient permissions
- `404`: Agent not found

---

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