NAV

updateUser

POST /v2/user/update

If you would like to update information about a previously created user, please use this call using SimplePin's API.

Parameters
Name
Description
user_code string (required)

Specify this parameter in order to identify which user you would like to update.

send_email boolean (required)

Specify this parameter if you would like to send a notification stating that the profile has been updated.

userAddUpdate (required)

This model allows you to specify all parameters that were required for creation of the user under a particular company. For more details, follow the body schema as described in the details of this call.

Response Messages
Code
Description
200
OK
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
             {
    "email": "string",
    "first_name": "string",
    "last_name": "string",
    "logo": "string",
    "password": "string",
    "phone": "string",
    "role": "ACCOUNT_OWNER",
    "state": "ACTIVE",
    "user_code": "string"
}
             
          
{ } UserAddUpdateV2Model
email (optional) string
first_name (optional) string
last_name (optional) string
logo (optional) string
password (optional) string
phone (optional) string
role (optional) string
state (optional) string
user_code (optional) string
             <user_add_update_model>
  <email>string</email>
  <first_name>string</first_name>
  <last_name>string</last_name>
  <logo>string</logo>
  <password>string</password>
  <phone>string</phone>
  <role>ACCOUNT_OWNER</role>
  <state>ACTIVE</state>
  <user_code>string</user_code>
</user_add_update_model>

             
          
{ } UserAddUpdateV2Model
email (optional) string
first_name (optional) string
last_name (optional) string
logo (optional) string
password (optional) string
phone (optional) string
role (optional) string
state (optional) string
user_code (optional) string