---
title: "Cancel all media operations in a call."
method: POST
path: "/calling/callConnections/{callConnectionId}:cancelAllMediaOperations"
tags: ["MidConnections"]
---

# Cancel all media operations in a call.

`POST /calling/callConnections/{callConnectionId}:cancelAllMediaOperations`

Cancel all media operations in a call.

## Path parameters

- `callConnectionId` string, required

## Query parameters

- `api-version` string, required

## Response `202`

The service has accepted the cancel request and will begin processing it. You will receive the RecognizeCanceled and/or PlayCanceled event at your specified callback URI to update you on the status of the request, based on which media operation has been canceled by it.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/communication-callautomation.md) · [All operations](https://skmtc.net/azure/apis/communication-callautomation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/communication-callautomation/versions/4e8b195b121b/schema)
