--- title: "/enterprise/toggleMediaEncryption/{directRouteId}" slug: "enterprisetogglemediaencryptiondirectrouteid-1" updated: 2025-06-17T20:37:14Z published: 2025-06-17T20:37:19Z canonical: "kb.connecttoteams.com/enterprisetogglemediaencryptiondirectrouteid-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt > Use this file to discover all available pages before exploring further. # /enterprise/toggleMediaEncryption/{directRouteId} Post/enterprise/toggleMediaEncryption/{directRouteId} Operation to toggle the Enable Media Encryption for a specific Direct Route. SecurityOAuthFlowPassword Token URL/oauth/token Path parametersdirectRouteIdinteger (int32) Required Body parametersstring Responses200 OK