Skip to main content
DELETE
/
newsletters
/
{id}
Delete (unsubscribe) a newsletter subscriber
curl --request DELETE \
  --url https://api.neuraldraft.io/v1/newsletters/{id} \
  --header 'Authorization: Bearer <token>'
{
  "type": "https://api.neuraldraft.io/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "API key missing or invalid.",
  "code": "unauthorized",
  "instance": "req_2Nh4PqRsTuVw"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Path Parameters

id
integer
required

Response

Subscriber removed.