Change user element permissions
myio_set_permissionsChange a user slot's element permissions by granting or revoking specific relay, PCA, FET, and input IDs; use fill or clear for full grant or revoke.
Instructions
Change the element permissions of a user slot (ADMIN). fill = grant everything, clear = revoke everything. Then per list the ids to GRANT or REVOKE: relay_read, relay_write, pca_read, pca_write, fet_read, fet_write (output ids), input_hit, input_press (input ids). On 4.x the current map is read first and only differences are sent; on Due 3.x the firmware toggles are sent as given (each id flips its bit).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slot": "<slot>"
},
"name": "myio_set_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| slot | Yes | ||
| clear | No | ||
| grant | No | ||
| revoke | No | ||
| server | No | controller name (default Ground floor) |