Bind Access Control Device

Last Updated on : 2023-06-15 05:58:38

Bind an access control device with a specified access control rule.

API address

POST: /v1.0/iot-02/access-controls/{access_control_id}/actions/device-bind

Request parameter

Parameter name Type IN Required Description
access_control_id String uri true The ID of a specified access control rule.

Description of body

Parameter name Type IN Required Description
device_id String true The device ID.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

POST: /v1.0/iot-02/access-controls/146304353014959****/actions/device-bind

Return example

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

Error code

For more information, see error code.