Delete a newsletter
Withdraws the public archive and removes the issue repository. The consent topic and its subscriptions remain.
DELETE
Withdraws the public archive and removes the issue repository. The consent topic and its subscriptions remain.
apiKeyheader
x-api-key<token>id*stringMatch
^nl_[0-9a-hjkmnp-tv-z]{16,24}$idempotency-key?stringLength
1 <= length <= 255Success
application/json- response
success*booleanimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.newsletters.remove({
"id": "example"
});Example Response
{
"success": true
}