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.29 docs/email_preference.md
files.com-1.0.28 docs/email_preference.md
files.com-1.0.27 docs/email_preference.md
files.com-1.0.26 docs/email_preference.md
files.com-1.0.25 docs/email_preference.md
files.com-1.0.24 docs/email_preference.md
files.com-1.0.23 docs/email_preference.md
files.com-1.0.22 docs/email_preference.md
files.com-1.0.21 docs/email_preference.md
files.com-1.0.20 docs/email_preference.md
files.com-1.0.19 docs/email_preference.md
files.com-1.0.18 docs/email_preference.md
files.com-1.0.17 docs/email_preference.md
files.com-1.0.16 docs/email_preference.md
files.com-1.0.15 docs/email_preference.md
files.com-1.0.14 docs/email_preference.md
files.com-1.0.13 docs/email_preference.md
files.com-1.0.12 docs/email_preference.md
files.com-1.0.11 docs/email_preference.md
files.com-1.0.10 docs/email_preference.md