Modify User Information

Last Updated on : 2023-06-20 14:20:05download

Modify the basic information about a specified user by user ID, such as the nickname.

API address

PUT: /v1.1/iot-02/users/{user_id}

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
user_idString falseThe user ID (UID).
user_nameString falseThe username.
user_nick_nameString falseThe nickname of a specified user.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result of modifying user information.

Request example

PUT: /v1.1/iot-02/users/abcd
  "user_id": "bay1***387W",
  "user_nick_name": "abc"

Return example

    "result": true,
    "t": 1628773563841,
    "success": true

Error code

For more information, see error code.