---
title: "/locations/:id"
method: PUT
path: "/locations/{id}"
---

# /locations/:id

`PUT /locations/{id}`

## Request

- Base URL: `https://develop.snipeitapp.com/api/v1`
- URL: `https://develop.snipeitapp.com/api/v1/locations/{id}`
- Auth: none required

Updates a location

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string, required
  - `address` string
  - `address2` string
  - `city` string
  - `state` string
  - `country` string
  - `zip` string
  - `ldap_ou` string
  - `currency` string
  - `manager_id` integer
  - `parent_id` integer
  - `company_id` integer: ID of the location's company

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `938bea5e8375`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/changes/locations/:id/put.md)

---

[API](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api.md) - [All operations](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/revisions/938bea5e8375?raw)
