thing.share.remove
The thing.share.remove command is used to stop sharing a thing.
If the thing was shared by the organization, all organizations that the org had shared it with will lose access to the thing.
TR50 Request
{
"1": {
"command": "thing.share.remove",
"params": {
"id": "500000000000000000000001",
"orgId": "500000000000000000000002"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
id |
String |
Yes |
The ID of the thing that is to be unshared. |
orgId |
String |
Yes |
The ID of the org that the thing will no longer be shared with. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"1": {
"success": true
}
}