# User

Type: object

Schema: [User](https://sourcey-firefly.pages.dev/api/models/user/index.md)

- `created_at` (optional)
  Type: string, date-time
  
  readOnly: true
  
  Example:
  
  ```json
  "2026-10-01T00:00:00+00:00"
  ```

- `updated_at` (optional)
  Type: string, date-time
  
  readOnly: true
  
  Example:
  
  ```json
  "2026-10-01T00:00:00+00:00"
  ```

- `email` (required)
  Type: string, email
  
  The new users email address.
  
  Example:
  
  ```json
  "james@firefly-iii.org"
  ```

- `blocked` (optional)
  Type: boolean
  
  Boolean to indicate if the user is blocked.
  
  Example:
  
  ```json
  false
  ```

- `blocked_code` (optional)
  Reference: [UserBlockedCodeProperty](https://sourcey-firefly.pages.dev/api/models/userblockedcodeproperty/index.md); Type: string, string; nullable
  
  If you say the user must be blocked, this will be the reason code.
  
  enum: ["email_changed",null]
  
  Example:
  
  ```json
  "email_changed"
  ```

- `role` (optional)
  Reference: [UserRoleProperty](https://sourcey-firefly.pages.dev/api/models/userroleproperty/index.md); Type: string, string; nullable
  
  Role for the user. Can be empty or omitted.
  
  enum: ["owner","demo",null]
  
  Example:
  
  ```json
  "owner"
  ```