API / Suppressions

POST

/suppressions

Add an email to the suppression list

Authentification : clé API Bearer requise.

Corps JSON

Suppression to add

NomTypeDescription
emailstring
reasonstring

Exemple curl

curl -X POST https://api.sporee.fr/suppressions \
  -H "Authorization: Bearer $SPORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Réponses

StatutDescriptionType
201Createdadd_suppression.Response
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError

Source machine : openapi.json · opération addSuppression