# Remove an endpoint

`DELETE /api/v1/webhook-endpoints/{id}`

Its delivery history is removed with it; the audit trail retains the change.

Needs the `webhooks:write` scope, or a full-access key.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Responses

### 200

The removed endpoint.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Empty means EVERY event type."
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "disabled"
          ]
        },
        "mode": {
          "type": "string",
          "enum": [
            "test",
            "live"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "disabledReason": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "delivery_failures",
            null
          ],
          "description": "Set when GlobalyMint disabled the endpoint after 3 days of failed deliveries; null when a person disabled it."
        },
        "disabledAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "failingSince": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "First failed try since the last delivery."
        },
        "previousSecretExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "During a rotation overlap: until when the previous signing secret also signs."
        },
        "delivered24h": {
          "type": "integer",
          "description": "Events delivered in the last 24 hours."
        },
        "failed24h": {
          "type": "integer",
          "description": "Deliveries given up on in the last 24 hours."
        },
        "retrying": {
          "type": "integer",
          "description": "Deliveries that failed and have another try scheduled."
        },
        "waiting": {
          "type": "integer",
          "description": "Undelivered events from the last 30 days that a replay would send."
        }
      },
      "required": [
        "id",
        "url",
        "events",
        "status",
        "mode",
        "createdAt",
        "disabledReason",
        "disabledAt",
        "failingSince",
        "previousSecretExpiresAt",
        "delivered24h",
        "failed24h",
        "retrying",
        "waiting"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
