English
English
简体中文
Contact Us
Register
Log In

Bind Access Control Device

Last Updated on : 2021-12-13 09:04:33download

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.