English
English
简体中文
Contact Us
Register
Log In

Modify user status

Last Updated on : 2021-07-16 08:26:43download

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.