mailbox.alias.update
Mailbox aliases are used to group the mailboxes of multiple things thus simplifying the mailbox.send command. This command updates an existing alias.
TR50 Request
{
"cmd": {
"command": "mailbox.alias.update",
"params": {
"id": "56dddc9b681fdc646f0eaaef",
"key": "@MYALIAS",
"things": [
"54934bae74e00c110f000043",
"55c0d177681fdc3ccb0e6ccc"
]
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
id |
String |
Yes |
ID of the alias. |
key |
String |
|
Alias key starting with the "@" character. |
things |
Array |
Yes |
Array of thing IDs. |
TR50 Response
{
"auth": null,
"data": {
"success": true
}
}