Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 832 Bytes

UserCreation.md

File metadata and controls

30 lines (24 loc) · 832 Bytes

FlatApi::UserCreation

Properties

Name Type Description Notes
username String Username of the new account
firstname String First name of the user [optional]
lastname String Last name of the user [optional]
email String Email of the new account [optional]
password String Password of the new account
locale FlatLocales [optional][default to 'en']
role String Role of the new account [optional][default to 'user']

Example

require 'flat_api'

instance = FlatApi::UserCreation.new(
  username: null,
  firstname: null,
  lastname: null,
  email: null,
  password: null,
  locale: null,
  role: null
)