dashboard-controller
Unassign the Dashboard (unassignDashboardFromCustomer)
Unassign the Dashboard from specified Customer or do nothing if the Dashboard is already assigned to that Customer. Returns the Dashboard object.
Available for users with 'TENANT_ADMIN' authority.
delete/api/customer/{customerId}/dashboard/{dashboardId}
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
dashboardIdstring required
A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"configuration": {},
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DASHBOARD"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"assignedCustomers": [
{
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.