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

# Delete Discrete Ancillaries By Structure Id

`DELETE /v1/structures/{structure_id}/discrete_ancillaries`

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

This endpoint allows you to remove discrete ancillaries from a structure.
The structure ID should be provided as a path parameter in the URL.
The IDs of the ancillaries to be removed should be provided in the request body as a list of integers.

The ancillaries will be removed from the structure, but will not be deleted from the ancillary database.

## Path parameters

- `structure_id` string, required

## Request body

- integer[]

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