---
title: "Delete a secure embed for a dashboard"
method: DELETE
path: "/api/v2/dashboard/{dashboard_id}/shared/secure-embed/{token}"
tags: ["Dashboard Secure Embed"]
---

# Delete a secure embed for a dashboard

`DELETE /api/v2/dashboard/{dashboard_id}/shared/secure-embed/{token}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/dashboard/{dashboard_id}/shared/secure-embed/{token}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `dashboards_embed_share`

Delete a secure embed share for a dashboard.

## Path parameters

- `dashboard_id` string, required
- `token` string, required

## Response `204`

No Content

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
