update_device_wtp
Update a managed FortiAP's settings in FortiManager by changing only supplied fields such as WTP profile, display name, admin state, location, comment, or VDOM.
Instructions
Update fields on a device-DB managed FortiAP. Only provided fields change.
Repointing wtp_profile drops a reference from the old profile. FortiManager prunes a wtp-profile that no wtp entry references on install (see create_device_wtp), so moving the last AP off a profile loses that profile on the next install_device_settings.
Args: device: Managed device name wtp_id: FortiAP serial number (the wtp-id / table mkey) wtp_profile: New FortiAP (WTP) profile name to assign name: New friendly display name admin: New authorization state: "discovered", "enable" or "disable" location: New free-text location string comment: New free-text comment vdom: VDOM the AP is registered in (default "root")
Returns: Update result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| vdom | No | root | |
| admin | No | ||
| device | Yes | ||
| wtp_id | Yes | ||
| comment | No | ||
| location | No | ||
| wtp_profile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||