# Delete a POP3 pickup source

Deletes a POP3 pickup source configuration and stops its background polling schedule.

## `DELETE /api/v1/mailboxes/{mailboxId}/pickups/{pickupId}`

### Path parameters

- `mailboxId` (string, required) — Mailbox ULID identifier
- `pickupId` (string, required) — Pickup source identifier

### Responses

**200** — Pickup source deleted successfully

`application/json` → DeletedResult

- `deleted` (boolean, required) — True if the resource was successfully deleted

**401** — unauthorized: the bearer credential is missing, malformed, expired, or revoked. Carries a `WWW-Authenticate: Bearer` challenge

`application/json` → ErrorBody

**404** — Not found or not accessible

`application/json` → ErrorBody

**409** — conflict: destination configuration changed or a handoff is pending; retry

`application/json` → ErrorBody

**503** — temporary_failure: the mailbox or account is in transition while its store is being adopted; retry after Retry-After

`application/json` → ErrorBody

### Example request

```bash
curl -X DELETE 'https://api.open.email/api/v1/mailboxes/{mailboxId}/pickups/{pickupId}' \
  -H 'Authorization: Bearer oek_…'
```

## TypeScript SDK

[`openemail.pickups.delete`](/docs/sdks/typescript/pickups/delete)

```ts
const deletedResult = await openemail.pickups.delete(mailboxId, pickupId)
```
