Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeRequiredDescription
idintNThe User ID

 


POST /user/index

Description

...

NameTypeRequiredDescription
first_namestringYFirst name
last_namestringYLast name
emailstringYEmail
password_1stringY

Password
Min length of 8 characters

password_2stringYRepeat Password
user_groupsarrayNArray of User Group Id's

 


PUT /user/index

Description

...

NameTypeRequiredDescription
idintYThe User ID
first_namestringYFirst name
last_namestringYLast name
emailstringYEmail
password_1stringNPassword
Min length of 8 characters
password_2stringNRequired if password_1 is set.
user_groupsarrayNArray of User Group Id's

...


GET /user/current

Description

...

Code Block
{
    "response": {
        "status": "OK",
        "user": {
            "id": "1",
            "first_name": "John",
            "last_name": "Doe",
            "email": "john.doe@flxone.com",
            "status": "1",
            "access_type": "api_and_interface"
        }
    }
}

 


PUT /user/password

Description

...

NameTypeRequiredDescription
current_passwordstringYThe current password
new_passwordstringYMinimum length of 8 characters.
new_password_confirmstringYSame as 'new_password'

...


PUT /user/disable

Description

...