Delete¶
POST /api/v1/dashboards/{dashboard_uuid}/delete
Overview¶
Delete the specified dashboard and its associated content.
Before Calling and Usage Steps¶
First confirm the UUID using Dashboard List or Dashboard Details. If you need to retain content, export the template first. Deletion cleans up associated charts, variables, menus, and other related items, and archived reports are also affected. If a timeout occurs, first check whether the dashboard still exists, then determine the next step.
Route Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| dashboard_uuid | string | Y | Target dashboard UUID. Example: dsbd_exampleHow to obtain or enter: Copy from content.data[].uuid in Dashboard List, or use content.uuid from the creation result. |
Request Headers¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Y | OpenAPI authentication credential for the Workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with permission for this operation from API Key Management in the target Workspace. |
Additional Parameter Notes¶
The target UUID is taken from the current Workspace list. Before deleting, verify the applications and reports that reference this dashboard.
Request Example¶
curl --request POST 'https://openapi.guance.com/api/v1/dashboards/dsbd_example/delete' \
-H 'DF-API-KEY: <DF-API-KEY>'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content | boolean | true when deletion succeeds. |
{
"code": 200,
"content": true,
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 404 | ft.NotFoundView | The target dashboard does not exist, has been deleted, or is not in the current Workspace | The specified view was not found | Use a UUID returned by the dashboard list of the current Workspace instead. |
| 403 | ft.ForbiddenDashboardOperation | The calling identity cannot operate on the target dashboard | You do not have permission to operate dashboard [{}]. | Verify the dashboard's visibility scope, operation authorization, and the API Key used. |