English
English
简体中文
Contact Us
Register
Log In

Delete Access Control Rule

Last Updated on : 2021-12-13 09:03:52download

Delete a specified access control rule by the rule ID.

API address

DELETE: /v1.0/iot-02/access-controls/{access_control_id}

Request parameter

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

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

DELETE: /v1.0/iot-02/access-controls/2873198418273981****

Return example

{ "result": { "access_control_name": "Access Control Rules", "create_time": 1637651734282, "time_limit": true, "modify_time": 1637651734282, "user_limit": true, "time_ranges": [ "06:00-9:00", "10:00-19:00", "10:00-19:00", "10:00-19:00" ], "id": "146304353014959****" }, "t": 1637651741125, "success": true }

Error code

For more information, see error code.