1 {"slug":"/references/user/interfaces/user.CreateUserDTO","title":"CreateUserDTO","frontmatter":{"displayed_sidebar":"userReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The user to be created."},{"kind":"typeList","sectionTitle":"CreateUserDTO","types":[{"name":"email","type":"`string`","description":"The email of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the user.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the user.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"avatar_url","type":"`null` \\| `string`","description":"The avatar URL of the user.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record<string, unknown>`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"roles","type":"`null` \\| `string`[]","description":"The RBAC roles to assign to the user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}