getOswStackLagList
Retrieve the Link Aggregation Group (LAG) list for a switch stack, including member ports, load balancing mode, and status.
Instructions
Get Link Aggregation Group (LAG) list for a switch stack. Returns configured LAG/trunk groups including member ports, load balancing mode, and status. Use getSwitchStackDetail to get the stackId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID to target. If omitted, uses the default site from OMADA_SITE_ID config. Use listSites to discover available site IDs. | |
| customHeaders | No | Optional HTTP headers to include in the Omada API request (e.g. {"X-Custom-Header": "value"}). Rarely needed. | |
| stackId | Yes | Stack ID of the switch stack. Use getSwitchStackDetail to find the stackId. |