The Port Mirroring API allows you to read and update the port mirroring configurations.
Use the following APIs to configure port mirror settings from Helix Enterprise:
Read port mirroring configurations for all interfaces
GET https://<host>/wsapis/v2.0.0/config/network/portmirror
Read port mirroring configurations for a given interface
GET https://<host>/wsapis/v2.0.0/config/network/portmirror/{name}
Read qualified mirror ports for a given interface
GET https://<host>/wsapis/v2.0.0/config/network/portmirror/{name}/qualified_ports
Create port mirroring configuration
POST https://<host>/wsapis/v2.0.0/config/network/portmirror -d <payload>
Delete port mirroring configuration
POST https://<host>/wsapis/v2.0.0/config/network/portmirror/{name}/delete
Delete all port mirroring configurations
POST https://<host>/wsapis/v2.0.0/config/network/portmirror/delete_all
Update port mirroring configuration
POST https://<host>/wsapis/v2.0.0/config/network/portmirror/{name} -d <payload>