--- title: "Update port mirroring configuration" slug: "update-port-mirroring-configuration" tags: ["Reference"] updated: 2026-09-03T18:40:47Z published: 2026-09-03T18:40:47Z canonical: "docs.trellix.com/update-port-mirroring-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Update port mirroring configuration Updates the port mirroring on all interfaces. ### API URL `POST https://<host>/wsapis/v2.0.0/config/network/portmirror/{name} -d <payload>` ### Payload JSON array containing read-only fields. Example: `{"mirror_port":"pether6"}` ### Sample curl request ``` curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/portmirror/A -d '{"mirror_port":"pether5"}' -H 'content-type:application/json' ``` **Availability** This command is available on the following platforms: - Network Security - Helix Enterprise ### Response ``` {  "error": true,  "message": "Port Mirroring updated",  "suggestedHttpCode": 200 } ``` ### Authentication Standard WSAPI authentication :