UserService

UpdateUser updates a user's information by user ID.

patch/api/v2/users/{userId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

userIdstring required

The unique user ID of the user.

Request body

emailstring

The email address of the user.

notestring

Additional notes about the user.

userTypeinteger

The type of the user (e.g., admin, regular user).

phonestring

The user's phone number.

Response

A successful response.

userIdstring required

The unique user ID of the user.

namestring required

The full name of the user.

emailstring

The email address of the user.

notestring

Additional notes about the user.

passwordstring

The user's password (optional).

userTypeinteger

The type of the user (e.g., admin, regular user).

userTypeDescstring

A description of the user's type.

phonestring

The user's phone number.

createTimestring date-time

The timestamp when the user was created.

updateTimestring date-time

The timestamp when the user was last updated.

Changes

No recorded changes to this operation across all 11 revisions of this API.