---
title: Update user preferences
full: true
_openapi:
  method: PUT
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Update the current user's notification preferences. Only provided
          fields are updated (partial update).


          **Channel Types:**


          Set to `false` to opt out of a channel globally:

          ```json

          {
            "channel_types": {
              "email": false,
              "sms": false
            }
          }

          ```


          **Notiflow Preferences:**


          Override settings for specific notiflows (keyed by notiflow handle):

          ```json

          {
            "notiflows": {
              "order-updates": {
                "enabled": false
              }
            }
          }

          ```


          Or disable specific channels for a notiflow:

          ```json

          {
            "notiflows": {
              "order-updates": {
                "enabled": true,
                "channel_types": {
                  "email": false
                }
              }
            }
          }

          ```
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Update the current user's notification preferences. Only provided fields are updated (partial update).

**Channel Types:**

Set to `false` to opt out of a channel globally:
```json
{
  "channel_types": {
    "email": false,
    "sms": false
  }
}
```

**Notiflow Preferences:**

Override settings for specific notiflows (keyed by notiflow handle):
```json
{
  "notiflows": {
    "order-updates": {
      "enabled": false
    }
  }
}
```

Or disable specific channels for a notiflow:
```json
{
  "notiflows": {
    "order-updates": {
      "enabled": true,
      "channel_types": {
        "email": false
      }
    }
  }
}
```


<APIPage document={"./openapi-user.json"} operations={[{"path":"/preferences","method":"put"}]} />