---
title: "Delete the first webhook endpoint of an inbox address (legacy)"
method: DELETE
path: "/inbox/webhook/addresses/{addressId}"
tags: ["inbox"]
---

# Delete the first webhook endpoint of an inbox address (legacy)

`DELETE /inbox/webhook/addresses/{addressId}`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/inbox/webhook/addresses/{addressId}`
- Auth: HTTP bearer

Deletes only the oldest endpoint. Once the address has no active endpoint, its mail falls back to the workspace default webhook.

## Path parameters

- `addressId` string, required: Inbox address ID

## Response `200`

Deleted

- object
  - `success` boolean, required
  - `removed` boolean, required

## Other responses

- `401`: Missing or invalid API key
- `404`: Resource not found
- `500`: Server error

---

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