Appearance
Remove Data Source
Soft remove a data source configuration, marking it as removed without permanently deleting it. Requires ADMIN or MANAGE_DASHBOARDS permissions on the target.
Parameters
| Name | Type | Description |
|---|---|---|
dashboardId | string | Required ID of the data source to remove. The route uses this parameter name for the data source ID. |
No request body is required.
Return Value
This route shares the dashboard removal handler and returns its message:
json
{
"statusCode": 201,
"data": null,
"message": "Dashboard removed"
}ENDPOINTS
put
/api/{targetPath}/data-source/:dashboardId/remove