entity-view-controller
Unassign Entity View from customer (unassignEntityViewFromCustomer)
Clears assignment of the Entity View to customer. Customer will not be able to query Entity View afterwards.
Available for users with 'TENANT_ADMIN' authority.
delete/api/customer/entityView/{entityViewId}
Path parameters
entityViewIdstring required
A string value representing the entity view id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"entityId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"name": "A4B72CCDFF33",
"type": "Temperature Sensor",
"keys": {
"timeseries": [
"temperature",
"humidity"
],
"attributes": {
"cs": [
"currentConfiguration"
],
"ss": [
"model"
],
"sh": [
"targetConfiguration"
]
}
},
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ENTITY_VIEW"
},
"createdTime": 1609459200000,
"additionalInfo": {}
}