v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
Company Users

Updating an user

Updates an existing company user.

put/users/{userId}

Path parameters

userIdinteger required

User ID

Request body

namestring required

User name

emailstring required

User email

profileTestEnabledboolean

Flag to set if tests are enabled

accessProfileIdnumber

Id from access profile to be bound

departmentIdnumber

Id from department to be bound

roleIdnumber

Id from user role

codestring

User identifier code

taxpayerRegistrystring

User taxpayer registry

countryOfOriginstring

User origin country

branchIdsnumber[]

Ids from branches to be bound

Response

The updated user

idinteger required

User ID

namestring required

User name

emailstring

User email

departmentIdinteger

Id from department from whose the user belongs

roleIdinteger

Id from role from whose the user belongs

profileTestEnabledboolean

Checks if user must make profile tests

type'root' | 'owner' | 'guest'

Kind of user

codestring required

User identifier

taxpayerRegistrystring

User taxpayer registry

countryOfOriginstring

User origin country

accessProfileIdnumber

Id from access profile

branchIdsinteger[]

List of company branches IDs associated to the user

createdAtstring date-time required

Data of creation

updatedAtstring date-time required

Date of update