---
title: "Delete Shelter By Structure Id"
method: DELETE
path: "/v1/structures/{structure_id}/shelters/{shelter_id}"
tags: ["structures"]
---

# Delete Shelter By Structure Id

`DELETE /v1/structures/{structure_id}/shelters/{shelter_id}`

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

This endpoint deletes a shelter. Deletion is rejected while ancillaries
are still assigned to the shelter.

## Path parameters

- `structure_id` string, required
- `shelter_id` integer, required

## Response `204`

Successful Response

## Other responses

- `400`: Bad Request
- `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)
