Delete Bulk Geofence

client_id

string

required

The unique ID associated with your developer project.

oauth_token

string

The access token generated via your web application as described here.

v

string

required

The API version date as documented here

geofence_ids

string

required

A comma separated list of the geofence_ids to be deleted.

``200 200

object

meta

object

code

integer

Defaults to 0

requestId

string

response

object

invalidIds

array of strings

idsOfDeletedGeofences

array of strings


xxxxxxxxxx

curl --request POST \
     --url https://api.foursquare.com/v2/apps/client_id/geofences/deletebulk/ \
     --header 'accept: text/plain'

xxxxxxxxxx

{
  "meta": {
    "code": 200,
    "requestId": "628402a3799321415c3cfa5a"
  },
  "response": {
    "invalidIds": [\
      "1",\
      "2"\
    ],
    "idsOfDeletedGeofences": [\
      "3",\
      "4"\
    ]
  }
}