Last Updated on : 2023-06-20 14:52:24download
Set the geofence status to be enabled or disabled.
PUT: /v2.0/iot-01/fences/{fence_id}/open
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
fence_id | Long | uri | true | The geofence ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
enable | Integer | body | true | Indicates whether the geofence is enabled. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
PUT: /v2.0/iot-01/fences/44008/open
{
"enable": 1
}
{
"result": true,
"t": 1625225268916,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback