Last Updated on : 2023-06-15 05:24:20
Send an update command to a specified access control device to update the specified user's access control card information.
PUT: /v1.0/access-control/{device_id}/persons/{person_id}/card/{card_no}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
person_id | String | uri | true | The ID of a specified user. |
card_no | String | uri | true | The number of the card to be updated. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
new_card_no | String | true | The new card number. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The command record ID. |
PUT: /v1.0/access-control/6ce****/persons/123****/card/cardNo****
{
"new_card_no": "newCardNo****"
}
{
"result": {
"sn": "1212581947449081****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback