Zilfu
API ReferenceEmail Preference

Update the user's per-type email preferences

PUT
/settings/email-preferences
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://zilfu.app/api/settings/email-preferences" \  -H "Content-Type: application/json" \  -d '{    "digest": true,    "checkins": true,    "news": true  }'
null
{
  "message": "string"
}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}