Delete data dashboard¶
Delete the specified data dashboard and its configuration. This operation is irreversible.
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.
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 |
|---|---|---|---|
|
string |
Yes |
Data dashboard ID. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"deleted": true
}
}
Field |
Type |
Description |
|---|---|---|
|
boolean |
Has it been deleted? Fixed to true. |
Error response¶
The following example corresponds to HTTP 404.
{
"code": "ErrDataDashboardNotFound",
"msg": "Not Found"
}
Field |
Type |
Description |
|---|---|---|
|
string |
Error code, such as |
|
string |
HTTP status description, such as |