---
title: "Revoke an allowlist entry"
method: DELETE
path: "/v1/suppression/allow/{id}"
tags: ["Suppression"]
---

# Revoke an allowlist entry

`DELETE /v1/suppression/allow/{id}`

## Request

- Base URL: `https://api.mails.ai`
- URL: `https://api.mails.ai/v1/suppression/allow/{id}`
- Auth: HTTP bearer

**Requires scope:** `manage`.

## Path parameters

- `id` string, required

## Response `200`

The revoked entry.

- object
  - `id` string, required: Id of the revoked allowlist entry (`sup_…`): the id in the path.
  - `revoked_at` string, date-time, required: When the entry was revoked: the time of this request. Revoking an entry that was already revoked sets a new time.

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key lacks the required scope (`insufficient_scope`), or the token belongs to an app connected by sign-in and this operation is closed to connected apps (`connected_app_not_allowed`).
- `404`: Resource not found in this workspace, or the agent a send names is archived (`agent_archived`).
- `500`: Internal server error.

---

[API](https://skmtc.dev/mails/apis/mails-ai-api.md) · [All operations](https://skmtc.dev/mails/apis/mails-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mails/apis/mails-ai-api/revisions/4d4930a8c33b?raw)
