---
title: "Cancel add participant operation."
method: POST
path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant"
tags: ["MidConnections"]
---

# Cancel add participant operation.

`POST /calling/callConnections/{callConnectionId}/participants:cancelAddParticipant`

Cancel add participant operation.

## Path parameters

- `callConnectionId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `Repeatability-Request-ID` string, uuid
- `Repeatability-First-Sent` string, date-time-rfc1123

## Request body

- CancelAddParticipantRequest — Request payload for cancelling add participant request.
  - `invitationId` string, required — Invitation ID used to add a participant.
  - `operationContext` string — Used by customers when calling mid-call actions to correlate the request to the response event.
  - `operationCallbackUri` string — Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.

## Response `202`

Returns the cancelAddParticipant response

- CancelAddParticipantResponse — Response payload for cancel add participant request.
  - `invitationId` string — Invitation ID used to cancel the add participant action.
  - `operationContext` string — The operation context provided by client.

## 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)
