get_device_wtp
Retrieves one managed FortiAP by serial number (wtp-id) from a specified FortiManager device and VDOM, returning its stored object or a not-found error.
Instructions
Get one managed FortiAP by wtp-id (serial number).
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: dict with device, vdom and the stored wtp object (credential fields stripped -- see _WTP_SECRET_FIELDS), or a not_found error if it does not exist
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes | ||
| wtp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||