DELETE /suppressions/{target}
Remove an address from the suppression list
Key created with the full_access permission (same rule as /domains). A complaint (complaint) cannot be removed.
API key (Bearer), on the public API endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
target | path | string · required | email address or suppression identifier |
Responses
| Status | Description | Body |
|---|---|---|
200 | Address removed | object |
404 | Not found in this project | Error |
409 | A complaint cannot be removed | Error |
401 | Key missing or invalid | Error |
Examples
curl
curl -X DELETE "$GALON_API_BASE/suppressions/<target>" \
-H "Authorization: Bearer $GALON_API_KEY"Node.js (SDK)
import { Galon } from "galon";
const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.suppressions.remove("<id>");Python (SDK)
from galon import Galon
galon = Galon() # reads GALON_API_KEY
result = galon.suppressions.remove("<id>")