entity-relation-controller
Delete common relations (deleteCommonRelations)
Deletes all the relations ('from' and 'to' direction) for the specified entity and relation type group: 'COMMON'.
If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer.
delete/api/relations
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
entityIdstring required
A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
entityTypestring required
A string value representing the entity type. For example, 'DEVICE'
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.