---
updatedAt: 2026-04-21T16:11:36.000Z
agentTools:
  projectIndex: https://apidoc.factorialhr.com/llms.txt
---

# Locations > Location > Deletes

Subscription_type: `locations/location/delete`

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Factorial API",
    "description": "",
    "version": "2026-10-01"
  },
  "webhooks": {
    "Webhooks > Locations > Location > Deletes": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "description": "Subscription_type: `locations/location/delete`",
        "deprecated": false,
        "summary": "Locations > Location > Deletes",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          }
        },
        "requestBody": {
          "description": "Callback payload",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/locations_location"
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://api.factorialhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api.demo.factorial.dev",
      "description": "Demo server (deprecated)"
    },
    {
      "url": "https://api.eu2.demo.factorial.dev",
      "description": "Demo server"
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://id.factorialhr.com/oauth/authorize",
            "tokenUrl": "https://id.factorialhr.com/api/oauth/token",
            "refreshUrl": "https://id.factorialhr.com/api/oauth/token",
            "scopes": {
              "read": "Required for all operations",
              "write": "Required for write operations",
              "approvals": "Access to approvals",
              "banking": "Access to banking",
              "company_holidays": "Access to company holidays",
              "company_legal_entities": "Access to company legal entities",
              "company_locations": "Access to company locations",
              "compensations": "Access to compensations",
              "contracts": "Access to contracts",
              "custom_fields": "Access to custom fields",
              "documents": "Access to documents",
              "employee_updates": "Access to employee updates",
              "employees": "Access to employees",
              "expenses": "Access to expenses",
              "finance": "Access to finance",
              "integrations": "Access to integrations",
              "it_management": "Access to it management",
              "job_catalog": "Access to job catalog",
              "marketplace": "Access to marketplace",
              "payroll": "Access to payroll",
              "payroll_supplements": "Access to payroll supplements",
              "performance": "Access to performance",
              "posts": "Access to posts",
              "processes": "Access to processes",
              "project_management_expenses": "Access to project management expenses",
              "project_management_projects": "Access to project management projects",
              "project_management_time": "Access to project management time",
              "recruitment": "Access to recruitment",
              "shift_management": "Access to shift management",
              "tasks": "Access to tasks",
              "time_off": "Access to time off",
              "time_tracking": "Access to time tracking",
              "trainings": "Access to trainings"
            }
          }
        }
      }
    },
    "schemas": {
      "locations_location": {
        "type": "object",
        "required": [
          "id",
          "company_id",
          "name",
          "main"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the workplace",
            "example": "1"
          },
          "company_id": {
            "type": "string",
            "description": "ID of the company this workplace belongs to",
            "example": "1"
          },
          "name": {
            "type": "string",
            "description": "Human-readable name of the workplace (e.g. \"Barcelona Office\")",
            "example": "Barcelona Office"
          },
          "timezone": {
            "type": "string",
            "description": "IANA timezone the workplace operates in (e.g. \"Europe/Madrid\")",
            "example": "Europe/Madrid"
          },
          "country": {
            "type": "string",
            "description": "ISO country code of the workplace — the jurisdiction it sits in, often used for country-specific policy thresholds",
            "example": "es"
          },
          "state": {
            "type": "string",
            "description": "State or province the workplace is located in",
            "example": "Barcelona"
          },
          "city": {
            "type": "string",
            "description": "City the workplace is located in",
            "example": "Barcelona"
          },
          "address_line_1": {
            "type": "string",
            "description": "First line of the workplace street address",
            "example": "Carrer Mallorca"
          },
          "address_line_2": {
            "type": "string",
            "description": "Second line of the workplace street address (suite, floor, …)",
            "example": "61 2A"
          },
          "postal_code": {
            "type": "string",
            "description": "Postal/ZIP code of the workplace address",
            "example": "08005"
          },
          "phone_number": {
            "type": "string",
            "description": "Contact phone number for the workplace",
            "example": "657483987"
          },
          "main": {
            "type": "boolean",
            "description": "Whether this is the company's main (HQ) workplace",
            "example": false
          },
          "latitude": {
            "type": "number",
            "description": "latitude of the location",
            "example": 52.378
          },
          "longitude": {
            "type": "number",
            "description": "longitude of the location",
            "example": 4.898
          },
          "radius": {
            "type": "number",
            "description": "radius of the location",
            "example": 5
          },
          "siret": {
            "type": "string",
            "description": "siret of the location (only for France)",
            "example": "FR00123456789"
          }
        }
      }
    }
  }
}
```