---
title: "Remove gadget from dashboard"
method: DELETE
path: "/rest/api/2/dashboard/{dashboardId}/gadget/{gadgetId}"
tags: ["Dashboards"]
---

# Remove gadget from dashboard

`DELETE /rest/api/2/dashboard/{dashboardId}/gadget/{gadgetId}`

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/api/2/dashboard/{dashboardId}/gadget/{gadgetId}`
- Auth: one of:
  - HTTP basic
  - OAuth 2 (authorization code, authorization URL `https://auth.atlassian.com/authorize`, token URL `https://auth.atlassian.com/oauth/token`, scopes: `write:jira-work`)

Removes a dashboard gadget from a dashboard.

When a gadget is removed from a dashboard, other gadgets in the same column are moved up to fill the emptied position.

**[Permissions](#permissions) required:** None.

## Path parameters

- `dashboardId` integer, required
- `gadgetId` integer, required

## Response `204`

Returned if the request is successful.

- unknown

## Other responses

- `401`: Returned if the authentication credentials are incorrect or missing.
- `404`: Returned if the gadget or the dashboard is not found.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api.md) - [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/revisions/5b336c497218?raw)
