Last Updated on : 2023-12-07 03:33:58download
Add a device member.
POST: /v1.0/devices/{device_id}/user
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
nick_name | String | true | The username. | |
sex | Integer | true | Gender.
| |
birthday | Long | false | Date of birth (day, month, year). | |
height | Integer | false | Height (cm). | |
weight | Integer | false | Weight (g). | |
contact | String | false | The contact information of the user. |
Parameter name | Type | Description |
---|---|---|
result | String | The added user ID. |
POST: /v1.0/devices/vdevo15345926009****/user
{
"nick_name": "Tom",
"sex": 1
}
{
"result": "231231xxx",
"t": 1592899848757,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback