---
title: "Get Ancillary Tenants By Structure Id"
method: GET
path: "/v1/structures/{structure_id}/ancillaries/tenants"
tags: ["structures"]
---

# Get Ancillary Tenants By Structure Id

`GET /v1/structures/{structure_id}/ancillaries/tenants`

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

This endpoint retrieves all ancillary tenants associated with a structure by its ID.
The structure ID should be provided as a path parameter in the URL.

## Path parameters

- `structure_id` string, required

## Response `200`

Successful Response

- AncillaryTenantsView
  - `discreteAncillaryTenants` string[], required
  - `linearAncillaryTenants` string[], required
  - `ancillaryTenants` string[], required

## 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)
