---
title: "Update Location Configuration"
method: PATCH
path: "/locations/{region_platform_public_id}"
---

# Update Location Configuration

`PATCH /locations/{region_platform_public_id}`

Updates the configuration for the specified legal entity and region.
An optional configuration can be provided to help decide if some tasks should be included or not.

<table>
<tr><td>has_employees</td><td>Include or filter out tasks that are applicable when employees are living or working in the location. Once payroll is connected for the legal entity, this value will be kept in sync. <b>This cannot be updated once payroll is connected."</b></td></tr>
<tr><td>has_physical_location</td><td>Include or filter out tasks that are applicable when the legal entity has a physical presence (such as an office) in the location.</td></tr>
</table>

## Path parameters

- `region_platform_public_id` string, required

## Request body

- UpdateLocationRequest
  - `config` LocationConfig
    - `has_employees` boolean, nullable
    - `has_physical_location` boolean, nullable

## Response `200`

Successful Response

- AccountLegalEntityLocation
  - `location` LocationRef, required
    - `id` string, required
    - `code` string, required
    - `name` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mosey/apis/mosey-api.md) · [All operations](https://skmtc.net/mosey/apis/mosey-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mosey/mosey-api/versions/2121b0e65643/schema)
