# Cancel Meeting — Google Meet

> Cancel (delete) a scheduled meeting. This permanently removes the Calendar event and its Google Meet link. See the documentation

- Key: `google_meet-cancel-meeting`
- Type: Action (Write)
- Version: 0.0.2
- App: Google Meet (`google_meet`) — https://pipedream.com/apps/google-meet.md
- This page (HTML): https://pipedream.com/apps/google-meet/actions/cancel-meeting
- Hints: destructive · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/google_meet/actions/cancel-meeting/cancel-meeting.mjs

## Description

Cancel (delete) a scheduled meeting. This permanently removes the Calendar event and its Google Meet link. [See the documentation](https://developers.google.com/calendar/api/v3/reference/events/delete)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `calendarId` | `string` | No | The calendar to use, identified by its calendar ID (e.g. primary, or an ID like en.indian#holiday@group.v.calendar.google.com). Defaults to the connected account's primary calendar. Use List Calendars to find the ID of a specific calendar. Options are loaded from the connected account. |
| `eventId` | `string` | Yes | The ID of the meeting (Google Calendar event ID), e.g. abc123def456ghi789. Run List Meetings first to find the ID of the meeting you want to reference. |
| `sendUpdates` | `string` | No | Configure whether to send notifications about the event |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "google_meet",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "google_meet-cancel-meeting",
  arguments: {
    calendarId: "Calendar ID",
    eventId: "Meeting ID",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_meet-cancel-meeting",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_meet: { authProvisionId: "apn_xxxxxxx" },
    calendarId: "Calendar ID",
    eventId: "Meeting ID",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "google_meet-cancel-meeting",
    "configured_props": {
      "google_meet": { "authProvisionId": "apn_xxxxxxx" },
      "calendarId": "Calendar ID",
      "eventId": "Meeting ID"
    }
  }'
```

---

- App: https://pipedream.com/apps/google-meet.md · All apps: https://pipedream.com/apps
