Last Updated on : 2023-06-21 07:12:56download
Modify the details of the access control rules, including the names and time rules.
PUT: /v1.0/iot-02/access-controls/{access_control_id}
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 |
---|---|---|---|---|
access_control_name | String | true | The name of a specified access control device, with up to 128 characters. | |
user_limit | Boolean | false | Specifies whether to restrict the users’ access control permission. Valid values:
|
|
time_limit | Boolean | false | Specifies whether there is a time limit. Valid values:
|
|
time_ranges | List |
false | The time rule. The accessible period. Maximum value: 5 . |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
PUT: /v1.0/iot-02/access-controls/146304353014959****
{
"access_control_name": "Access Control Rules",
"time_limit": true,
"user_limit": true,
"time_ranges": [
"06:00-9:00",
"10:00-19:00",
"10:00-19:00",
"10:00-19:00"
]
}
{
"result": true,
"t": 1637654434519,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback