---
title: "Remove a webhook"
method: DELETE
path: "/agents/{id}/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Remove a webhook

`DELETE /agents/{id}/webhooks/{webhookId}`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/agents/{id}/webhooks/{webhookId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.artil.ai/oauth/authorize`
    - Token URL: `https://mcp.artil.ai/oauth/token` scopes: `agent`

Stop posting an agent's events to a URL.

## Path parameters

- `id` string, uuid, required
- `webhookId` string, required

## Response `204`

Events are no longer posted there

## Other responses

- `4XX`: The request failed; the error says why
- `5XX`: The request failed; the error says why

---

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