Skip to content

Delete



GET /api/v1/dashboard/{dashboard_uuid}/delete

Overview

Deletes the specified built-in view and its associated configurations.

Before You Call and Usage Steps

Identify the UUID from the Built-in View List. If restoration may be needed, first export the built-in view, and save the binding conditions through Built-in View Details. This GET request deletes the view and its associated charts, variables, groups, and bindings, and may also affect reports that reference the view. Initiate the request only after you have confirmed the target.

Route Parameters

Parameter Type Required Description
dashboard_uuid string Y The UUID of the built-in view in the current workspace.
Example: dsbd_inner_example
How to obtain or specify: Obtain it from content.data[].uuid in the Built-in View List; you can also use content.uuid from the create response.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or specify: Obtain an OpenAPI Key with the required permissions for this operation from API Key Management in the target workspace.

Additional Parameter Notes

Repeated calls may return that the target does not exist. After a timeout, check the list first to avoid blind retries.

Request Example

curl --get 'https://openapi.guance.com/api/v1/dashboard/dsbd_inner_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 array<string> Array of names of the deleted views.
{
  "code": 200,
  "content": [
    "主机详情内置视图"
  ],
  "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 Resolution
404 ft.NotFoundView The target does not exist, has been deleted, or does not belong to this workspace The specified view was not found Obtain a still-valid UUID from the Built-in View List in the same workspace.
403 ft.ForbiddenOperationResource The API Key does not have valid operation permissions for the target view No operation permissions Confirm workspace ownership and API Key permissions, or contact the resource creator.
403 ft.ForbiddenAccessResourceNoPublic The identity accessing the private view differs from the identity that created the view No resource access permission; the current page is not public Perform the operation using the creator identity that has access, and confirm that you are using an API Key from the same workspace.

Feedback

Is this page helpful?