---
title: "Rotate Discrete Ancillaries By Structure Id"
method: POST
path: "/v1/structures/{structure_id}/discrete_ancillaries/rotate"
tags: ["structures"]
---

# Rotate Discrete Ancillaries By Structure Id

`POST /v1/structures/{structure_id}/discrete_ancillaries/rotate`

## 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}/discrete_ancillaries/rotate`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

Rotates a set of discrete ancillaries about the tower's vertical axis by one
azimuth delta (the tenancy view's bulk rotate, which turns a whole layout).
Every ancillary's azimuth is shifted by the delta. Manually positioned
ancillaries also have their stored x/y rotated by the same delta so the layout
turns rigidly; automatically positioned ones keep null x/y and are re-projected
onto the tower face from the new azimuth when read.

## Path parameters

- `structure_id` string, required

## Request body

- StructureDiscreteAncillariesRotateInput
  - `structureDiscreteAncillaryIds` integer[], required
  - `deltaAzimuthDEG` number, required

## Response `204`

Successful Response

## Other responses

- `404`: Not found
- `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)
