---
title: "Put Location For Structure With Id"
method: PUT
path: "/v1/structures/{structure_id}/location"
tags: ["structures"]
---

# Put Location For Structure With Id

`PUT /v1/structures/{structure_id}/location`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/structures/{structure_id}/location`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint allows you to update the location details associated with a structure by its ID.
The structure ID should be provided as a path parameter in the URL.
The location details to be updated should be provided in the request body.

The site name must not contain underscore characters.

## Path parameters

- `structure_id` string, required

## Request body

- LocationUpdateInput
  - `lat` number, nullable
  - `lon` number, nullable
  - `towerOrientation` number, nullable
  - `towerBaseElevationM` number, nullable
  - `siteAltitude` number, nullable
  - `designStandardKey` 'EN_01' | 'MSZ_EN_01' | 'NS_EN_01' | 'DIN_EN_01' | 'NF_EN_01' | 'SFS_EN_01' | 'SS_EN_01' | 'BS_EN_01' | 'IS_EN_01' | 'BDS_EN_01' | 'UNI_EN_01' | 'TIA_222_I' | 'TIA_222_H' | 'TIA_222_G' | 'TIA_222_F' | 'PN_EN_01' | 'ASNZS_01'
  - `globalWindDirections` number[], nullable
  - `shouldMoveAncillaries` boolean, nullable: When tower base elevation changes, this flag indicates whether to also move ancillaries up/down with the change.
  - `riskCategory` 'I' | 'II' | 'III' | 'IV'

## Response `200`

The request was successful but had some warnings. Check the response body for more information.

## Other responses

- `204`: Successful Response
- `400`: Bad Request
- `403`: Unable to store coordinates in certain countries
- `404`: The structure do not exist.
- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
