# UpdateMe

Type: UpdateMe

Schema: [UpdateMe](https://sourcey-peertube.pages.dev/api-rest-reference/models/updateme.md)

- `password` (optional)
  Reference: [password](https://sourcey-peertube.pages.dev/api-rest-reference/models/password.md); Type: password, password
  
  minLength: 6
  
  maxLength: 50

- `currentPassword` (optional)
  Reference: [password](https://sourcey-peertube.pages.dev/api-rest-reference/models/password.md); Type: password, password
  
  minLength: 6
  
  maxLength: 50

- `email` (optional)
  Type: email
  
  new email used for login and service communications
  
  allOf:
    Type: email, email
    
    The user email

- `displayName` (optional)
  Type: string
  
  new name of the user in its representations
  
  minLength: 3
  
  maxLength: 120

- `nsfwPolicy` (optional)
  Type: string
  
  new NSFW display policy
  
  enum: ["true","false","both"]

- `nsfwFlagsDisplayed` (optional)
  Reference: [NSFWFlag](https://sourcey-peertube.pages.dev/api-rest-reference/models/nsfwflag.md); Type: NSFWFlag
  
  
  NSFW flags (can be combined using bitwise or operator)
  - `0` NONE
  - `1` VIOLENT
  - `2` EXPLICIT_SEX
  
  
  enum: [0,1,2,4]

- `nsfwFlagsHidden` (optional)
  Reference: [NSFWFlag](https://sourcey-peertube.pages.dev/api-rest-reference/models/nsfwflag.md); Type: NSFWFlag
  
  
  NSFW flags (can be combined using bitwise or operator)
  - `0` NONE
  - `1` VIOLENT
  - `2` EXPLICIT_SEX
  
  
  enum: [0,1,2,4]

- `nsfwFlagsWarned` (optional)
  Reference: [NSFWFlag](https://sourcey-peertube.pages.dev/api-rest-reference/models/nsfwflag.md); Type: NSFWFlag
  
  
  NSFW flags (can be combined using bitwise or operator)
  - `0` NONE
  - `1` VIOLENT
  - `2` EXPLICIT_SEX
  
  
  enum: [0,1,2,4]

- `nsfwFlagsBlurred` (optional)
  Reference: [NSFWFlag](https://sourcey-peertube.pages.dev/api-rest-reference/models/nsfwflag.md); Type: NSFWFlag
  
  
  NSFW flags (can be combined using bitwise or operator)
  - `0` NONE
  - `1` VIOLENT
  - `2` EXPLICIT_SEX
  
  
  enum: [0,1,2,4]

- `aiUsagesHidden` (optional)
  Type: Array<VideoAIUsageSet>
  
  **PeerTube >= 9.0** Videos with these AI usages are hidden from video lists
  
  Items:
    Reference: [VideoAIUsageSet](https://sourcey-peertube.pages.dev/api-rest-reference/models/videoaiusageset.md); Type: VideoAIUsageSet
    
    **PeerTube >= 9.0** Use of AI in the video, declared by the video creator:
      - `1` Not specified
      - `2` No AI-generated content: nothing seen or heard in the video has been generated by AI
      - `3` Contains AI-generated content: some parts of the video have been generated by AI
      - `4` AI-generated: the whole video, or most of it, has been generated by AI
    
    
    enum: [1,2,3,4]

- `p2pEnabled` (optional)
  Type: boolean
  
  whether to enable P2P in the player or not

- `autoPlayVideo` (optional)
  Type: boolean
  
  new preference regarding playing videos automatically

- `autoPlayNextVideo` (optional)
  Type: boolean
  
  new preference regarding playing following videos automatically

- `autoPlayNextVideoPlaylist` (optional)
  Type: boolean
  
  new preference regarding playing following playlist videos automatically

- `videosHistoryEnabled` (optional)
  Type: boolean
  
  whether to keep track of watched history or not

- `videoLanguages` (optional)
  Type: Array<string>
  
  list of languages to filter videos down to
  
  Items:
    Type: string

- `videoCategories` (optional)
  Type: Array<integer>; nullable
  
  list of categories to filter videos down to (`null` means all categories)
  
  Items:
    Type: integer

- `videoLive` (optional)
  Type: string
  
  filter videos down to lives (`true`), VODs (`false`) or display both
  
  enum: ["true","false","both"]

- `language` (optional)
  Type: string
  
  default language for this user

- `theme` (optional)
  Type: string

- `noInstanceConfigWarningModal` (optional)
  Type: boolean

- `noAccountSetupWarningModal` (optional)
  Type: boolean

- `noWelcomeModal` (optional)
  Type: boolean