Lifecycle Email

Acts on current_user() only; takes no user id, so no resource-access decorator applies.

<br/>Turning emails back ON is a clear of the opt-out. If the stored reason is<br/>a vendor signal (bounce / complaint / suppression) rather than the<br/>user's own choice, the clear is refused with a 422: that address is<br/>known-bad and only support can re-enable it. A user-set opt-out (or any<br/>other reason) can always be cleared.

put/api/v1/prefs/marketing-emails

Request

  • Base URL: https://api.avatarfactory.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.avatarfactory.io/api/v1/prefs/marketing-emails
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

enabledboolean required

Response

OK

enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.