v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
user

Update user info

Updates the information of an existing user.

put/users/{userId}

Path parameters

userIdstring required

ID of the user to update

Request body

firstNamestring
lastNamestring
emailstring email
phonestring phone
languagestring

Response

User updated successfully

first_namestring

firstname of the user

last_namestring

lastname of the user

roleinteger

User's role type (superadmin or user)

emailstring

User's primary contact email.

phonestring phone

User's primary contact phone number.

usernamestring

Last updated time

created_atstring date-time

Time of registration

updated_atstring date-time

Last updated time

access_tokenstring

A valid JWT that will expire in expires_in seconds.

expires_atstring date-time

UNIX timestamp after which the access_token should be renewed by using the refresh token with the refresh_token grant type.