Skip to main content
Version: 4.64

removeGeofences

Field Configurations​

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Parameters​

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"fences"ArrayFences to be removednull
"query"StringQuery to use.null
"queryParams"ArrayThe params to append to the query.null
"table"StringDatabase table to use.null
"template"StringTemplate to apply to the query result.null

Inherited​

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples​

Example 1: Remove a geofence by ID​

Show ExampleHide Example

Remove a geofence using its static ID.

{
"type": "removeGeofences",
"params": {
"fences": [
{
"id": "{{id}}"
}
]
}
}
The app showing the results of the sample code from Example 1.The app showing the results of the sample code from Example 1.

Example 2: Remove geofences using a query​

Show ExampleHide Example

Remove geofences retrieving the IDs from a database.

{
"type": "removeGeofences",
"params": {
"table": "geofences",
"query": "activeFences"
}
}