Modify user status

Last Updated on : 2023-06-15 05:48:59

Pass in user ID, user status, modify user status.

API address

PUT: /v1.0/iot-03/users/{uid}/status

Request parameter

Parameter name Type IN Required Description
uid String uri true User ID

Return parameter

Parameter name Type Description
result Boolean Successfully returns true, failure returns false.

Request example

PUT: /v1.0/iot-03/users/bay1625728257583****/status
{ "status": "1" }

Return example

{ "result": true, "t": 1626230381700, "success": true }

Error code

For more information, see error code.