delete_device_wtp
Removes a managed FortiAP registration from a device DB by serial, dropping its wtp-profile reference; deleting the last AP may prune that profile on install.
Instructions
Delete a managed FortiAP registration from a device's device DB.
This drops the AP's reference to its wtp-profile. FortiManager prunes a wtp-profile that no wtp entry references on install (see create_device_wtp), so deleting the last AP on 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) vdom: VDOM the AP is registered in (default "root")
Returns: Deletion result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes | ||
| wtp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||