PATCH

https://api.neobrain.io/{version}

/
users
/
{id}

Authorizations

Authorization
string
headerrequired

API token for the Authorization header parameter.

Headers

Accept-Language
string

Language identifier, using the ISO 639-1 specification. If none provided it will use the account default language. For additional info please access /v1/locales

Path Parameters

id
string
required

Resource identifier. It can be an integer or a string having the following format x-EMPLOYEE_ID, where EMPLOYEE_ID is a alpha numerical string and is related to employeeId field value.

Body

application/json
firstName
string
required
lastName
string
required
email
string
required
gender
integer | null

For accepted values please access /v1/genders

secondaryEmail
string | null
phone
string | null
secondaryPhone
string | null
address
string | null
city
string | null
zipcode
string | null
country
string | null
locale
string

Only accepts values available for your account. For available languges please access /v1/locales

birthday
string | null

Date format is YYYY-MM-DD

photo
string | null

It can accept image URL or "data" URL scheme usign the RFC-2397 specifications. If this attribute is not set it will default to https://smartmobility.io/upload/profil.jpg. Maximum file size is 5 MB.

entity
string | null

Check /v1/entities to see what existing names are present for your account.

businessUnit
string | null
nationality
string | null
seniority
number | null
status
boolean | null

If none provided it will default to status 1 (active)

employeeId
string | null
additionalFields
object[]

Response

200 - application/json
id
integer
firstName
string
lastName
string
gender
integer
email
string
secondaryEmail
string
phone
string
secondaryPhone
string
address
string
city
string
zipcode
string
country
string
locale
string
birthday
object
photo
string
entity
string
businessUnit
string
nationality
string
seniority
number
status
boolean | null
employeeId
string
managerId
integer
managerProfileId
integer
employeeProfileId
integer
job
object
additionalFields
object[]