--- title: "Set operational modes for a set of interfaces" slug: "set-operational-modes-for-a-set-of-interfaces" tags: ["Reference"] updated: 2026-09-03T18:40:43Z published: 2026-09-03T18:40:43Z canonical: "docs.trellix.com/set-operational-modes-for-a-set-of-interfaces" --- > ## 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. # Set operational modes for a set of interfaces Sets the operational modes for the specified interfaces. ### API URL `POST https://<host>/wsapis/v2.0.0/config/network/opmodeconf/opmode -d <payload>` ### Payload `[{"name":"A", "opmode":"bypass"}, {"name":"B", "opmode":"block", "fail_safe":"close"}]` ### Sample curl requests `curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/opmodeconf/opmode -d '[{"name":"A", "opmode":"bypass"}, {"name":"B", "opmode":"block", "fail_safe":"close"}]' -H 'content-type:application/json'` ### Sample curl response `{"error":false,"message":"Config updated"}` **Availability** This command is available on the following platforms: - Network Security - Helix Enterprise ### Authentication Standard WSAPI authentication ### Response mime type `application/json` :