API / Identities

POST

/identities/{id}/addresses/{localPart}/disable

Disable an allowed From address

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
id*pathstringIdentity ID
localPart*pathstringAddress local-part

Corps JSON

Optional reason

NomTypeDescription
reasonstring

Exemple curl

curl -X POST https://api.sporee.fr/identities/<id>/addresses/<localPart>/disable \
  -H "Authorization: Bearer $SPORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Réponses

StatutDescriptionType
200OKdisable_address.DisableAddressResult
400Bad Requestecho.HTTPError
404Not Foundecho.HTTPError

Source machine : openapi.json · opération disableIdentityAddress