POST /mail/consents/revoke
Revoke a marketing consent
Console session only (signed-in console).
Request body
application/json
| Field | Type | Description |
|---|---|---|
email | string · required |
Responses
| Status | Description | Body |
|---|---|---|
200 | revoked or absent |
Examples
curl
curl -X POST "$GALON_API_BASE/mail/consents/revoke" \
-H "Authorization: Bearer $GALON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "ana@example.com"}'