Last Updated on : 2023-06-20 14:54:07download
Grant device permission to a specified user. Only the authorized user will have permission to perform a video talk with a specified access control device.
POST: /v1.0/expand/spaces/{device_id}/persons/{person_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
person_id | String | uri | true | The ID of a specified user. |
Parameter name | Type | Description |
---|---|---|
result | DeviceAuthResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
person_id | String | The ID of a specified user. |
device_id | String | The ID of a Tuya device. |
POST: /v1.0/expand/spaces/6ce****/persons/123****
{
"result": {
"device_id": "6ce****",
"person_id": "ay1534****"
},
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback