# Delete an inbox filter

Source: https://docs.maylee.app/api-reference/inbox-filters/delete-inbox-filter

`DELETE https://api.maylee.app/api/v1/filters/{filterId}`

Scope: `write`.

The emails it hid reappear in the main inbox immediately.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `filterId` | path | string | yes |  |

## Example request

```bash
curl -X DELETE "https://api.maylee.app/api/v1/filters/<filterId>" \
  -H "Authorization: Bearer $MAYLEE_KEY"
```

## Responses

### 204

Deleted.

### 401

Missing, malformed, revoked or expired API key.

### 403

Key lacks the required scope, or outbound sending is not enabled on it.

### 404

Not found, or belongs to another workspace.

### 429

Per-minute rate limit (`RATE_LIMIT_EXCEEDED`) or monthly quota (`QUOTA_EXCEEDED`) exhausted.

Errors use the format `{ "code", "error", "details" }`: see [Errors](/errors.md).
