---
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 parameters<select class='api-response-data' aria-label='Media type'><option value='e5e32ef2-4aa8-45f5-b2cb-89c1f8f611be'>application/json</option>
</select>string    

Responses200

OK
