---
updatedAt: 2026-02-12T12:14:13.000Z
---

# Clear All Geofences

Clears all created geofences.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v2-places-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.foursquare.com/v2/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/apps/{client_id}/geofences/clear": {
      "post": {
        "summary": "Clear All Geofences",
        "description": "Clears all created geofences.",
        "operationId": "clear-all-geofences",
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "description": "The unique ID associated with your developer project.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "oauth_token",
            "in": "query",
            "description": "The access token generated via your web application as described [here](/reference/v2-authentication).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "v",
            "in": "query",
            "description": "The API version date as documented [here](https://developer.foursquare.com/reference/versioning)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"meta\": {\n    \"code\": 200,\n    \"requestId\": \"5caba2a54434b90ef3069965\"\n  },\n  \"notifications\": [\n    {\n      \"type\": \"notificationTray\",\n      \"item\": {\n        \"unreadCount\": 0\n      }\n    }\n  ],\n  \"response\": {}\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "requestId": {
                          "type": "string",
                          "example": "5caba2a54434b90ef3069965"
                        }
                      }
                    },
                    "notifications": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "example": "notificationTray"
                          },
                          "item": {
                            "type": "object",
                            "properties": {
                              "unreadCount": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              }
                            }
                          }
                        }
                      }
                    },
                    "response": {
                      "type": "object",
                      "properties": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```