---
title: "Delete an embed from a workbook"
method: DELETE
path: "/v2/workbooks/{workbookId}/embeds/{embedId}"
tags: ["Workbooks"]
---

# Delete an embed from a workbook

`DELETE /v2/workbooks/{workbookId}/embeds/{embedId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/workbooks/{workbookId}/embeds/{embedId}`
- Auth: HTTP bearer

This endpoint lets you delete an embed associated with a specific workbook. It is useful for cleaning up unnecessary or outdated embeds to maintain a streamlined environment.

  ### Usage Notes
  - Requires `workbookId` and `embedId` as path parameters to specify which embed to delete.
  - Retrieve the **workbookId** by calling the [/v2/workbooks](https://help.sigmacomputing.com/reference/list-workbooks) endpoint.
  - Retrieve the **embedId** by calling the [/v2/workbooks/{workbookId}/embeds](https://help.sigmacomputing.com/reference/list-workbook-embeds) endpoint.

  ### Usage Scenarios
  - **Maintenance**: Regularly remove unused or expired embeds to keep your Sigma environment clean and efficient.

  ### Best Practices
  - Confirm the usage and necessity of an embed before deletion to avoid disrupting dependent services or applications.

## Path parameters

- `workbookId` string, required
- `embedId` string, required

## Response `200`

The response body.

- WorkbooksDeleteWorkbookEmbedsResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
