---
title: "Delete an element from a document."
method: DELETE
path: "/elements/d/{did}/w/{wid}/e/{eid}"
tags: ["Element"]
---

# Delete an element from a document.

`DELETE /elements/d/{did}/w/{wid}/e/{eid}`

Attempting to delete the last element in a document will result in an error.

## Path parameters

- `did` string, required
- `wid` string, required
- `eid` string, required

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
