Delete data dashboard

Delete the specified data dashboard and its configuration. This operation is irreversible.

HTTP
DELETE $CLOUDSIGMA_API_BASE/data-dashboards/{dashboard_id}

Before you call

Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token and target workspace ID that can access the target workspace. Select the ID of the required data dashboard from the list of Query Data Kanban List.

Request parameters

Replace $DASHBOARD_ID, $CLOUDSIGMA_API_KEY, $WORKSPACE_ID in the example with actual values.

Shell
curl -X DELETE "$CLOUDSIGMA_API_BASE/data-dashboards/$DASHBOARD_ID" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Type

Required

Description

dashboard_id

string

Yes

Data dashboard ID.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "deleted": true
  }
}

Field

Type

Description

data.deleted

boolean

Has it been deleted? Fixed to true.

Error response

The following example corresponds to HTTP 404.

JSON
{
  "code": "ErrDataDashboardNotFound",
  "msg": "Not Found"
}

Field

Type

Description

code

string

Error code, such as ErrParamInvalid or ErrDataDashboardNotFound.

msg

string

HTTP status description, such as Bad Request or Not Found.

Last updated on