---
title: "Remove an endpoint"
method: DELETE
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Remove an endpoint

`DELETE /webhooks/{id}`

## Request

- Base URL: `https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent`
- URL: `https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent/webhooks/{id}`
- Auth: HTTP bearer

Remove a webhook endpoint. Its delivery history goes with it, and anything still queued for it stops.

## Path parameters

- `id` string, required

## Response `200`

Success.

- object

## Other responses

- `400`: Arguments failed validation.
- `401`: Missing or invalid agent key.
- `403`: Key does not hold the webhooks:manage scope.
- `429`: Rate limited.

---

[API](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway.md) · [All operations](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway/revisions/acdbf292d9d6?raw)
