Skip to content

Delete



POST /api/v1/dashboard/carousel/{carousel_uuid}/delete

Overview

Delete a carousel configuration for the current calling identity.

Before Calling and Usage Steps

Confirm the target carousel and UUID from the Carousel List, then submit the POST request. This operation deletes the carousel configuration; dashboards referenced by the configuration remain available. If the request times out, query the list first to verify the configuration status.

Path Parameters

Parameter Type Required Description
carousel_uuid string Y Carousel configuration UUID.
Example: csel_example
How to obtain or specify: Under the same workspace and calling identity, copy it from content[].uuid in the Carousel List, or 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 permission for this operation from API Key Management in the target workspace.

Request Example

curl --request POST 'https://openapi.guance.com/api/v1/dashboard/carousel/csel_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 if 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 Resolution
404 ft.DashboardCarouselObjectNotExist The configuration has been deleted, does not exist, or does not belong to the current calling identity and workspace The carousel object does not exist Use the same Key to confirm from the Carousel List that the configuration still exists, then use the actual UUID.

Feedback

Is this page helpful?