update_mobility_device_name
Rename a UniFi mobility device with a guarded write, requiring workspace ID, device ID, and new name. Returns preview or no-op status, and applies only when confirmed.
Instructions
Rename a UMR device (guarded write). WARNING: mutates live device config.
Sends the full documented body {"name": name} (1-32 chars). Read-before, no-op detection (returns status="no_op" when already named this), confirm=true guard (returns a current-vs-proposed preview otherwise), an environment kill-switch (UNIFI_ENABLE_MOBILITY_WRITE, gated OFF by default pending issue #186 semantics verification), and a read-after verification.
workspace_id: the workspace UUID from list_mobility_workspaces. device_id: the device UUID from list_mobility_devices. name: the new device name (1-32 characters). confirm: must be true to apply the change. key_label: optional configured API-key label to route on a specific key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| device_id | Yes | ||
| key_label | No | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||