# update_preferences

`tools/call` · `POST /clanker/v1/preferences:update`

Change your person's email preferences. Only the fields given change. Returns their preferences. Needs write access.

- Area: Workspace
- Needs the write grant. Idempotent.

## Inputs

- `productUpdates` (boolean): Emails about new Clanker Ship features.
- `workspaceActivity` (boolean): A digest of what happened in their workspaces.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_preferences",
    "arguments": {
      "productUpdates": false
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/preferences:update \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "productUpdates": false
  }'
```
