Sha256: 0f8cba7050cc0d6a598fad21a0e56b660778c9d299b23b893036581bc8e0dcbe

Contents?: true

Size: 936 Bytes

Versions: 43

Compression:

Stored size: 936 Bytes

Contents

# EmailPreference

## Example EmailPreference Object

```
{
  "email": "john.doe@files.com",
  "notifications": [

  ],
  "receive_admin_alerts": true
}
```

* `email` (email): Email address
* `notifications` (array): A list of notifications
* `receive_admin_alerts` (boolean): Receive admin alerts?


---

## Internal hidden endpoint.  Subject to change.  Not for public consumption

```
Files::EmailPreference.update(token, 
  user[receive_admin_alerts]: true, 
  user[unsubscribed]: true, 
  user[notifications][send_interval]: "hour"
)
```

### Parameters

* `token` (string): Required - Email preferences token.
* `user[receive_admin_alerts]` (boolean): 
* `user[unsubscribed]` (boolean): 
* `user[notifications][id]` (array(int64)): 
* `user[notifications][group]` (array(boolean)): 
* `user[notifications][send_interval]` (array(string)): 
* `user[notifications][unsubscribe]` (array(boolean)): 
* `user[unsubscribe]` (string): 

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
files.com-1.0.49 docs/email_preference.md
files.com-1.0.48 docs/email_preference.md
files.com-1.0.47 docs/email_preference.md
files.com-1.0.46 docs/email_preference.md
files.com-1.0.45 docs/email_preference.md
files.com-1.0.44 docs/email_preference.md
files.com-1.0.43 docs/email_preference.md
files.com-1.0.42 docs/email_preference.md
files.com-1.0.41 docs/email_preference.md
files.com-1.0.40 docs/email_preference.md
files.com-1.0.39 docs/email_preference.md
files.com-1.0.38 docs/email_preference.md
files.com-1.0.37 docs/email_preference.md
files.com-1.0.36 docs/email_preference.md
files.com-1.0.35 docs/email_preference.md
files.com-1.0.34 docs/email_preference.md
files.com-1.0.33 docs/email_preference.md
files.com-1.0.32 docs/email_preference.md
files.com-1.0.31 docs/email_preference.md
files.com-1.0.30 docs/email_preference.md