---
title: "Cancel an invitation."
method: DELETE
path: "/api/v1/teams/invitations/{invitationId}"
tags: ["Team Invitations"]
---

# Cancel an invitation.

`DELETE /api/v1/teams/invitations/{invitationId}`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/teams/invitations/{invitationId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/teams/invitations/:invitationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Cancels a pending team invitation. The invited person will no longer be able to join via this invitation link.

## Path parameters

- `invitationId` integer, required

## Other responses

- `400`: Bad Argument
- `401`: API Token is either missing or invalid
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/teams/invitations/:invitationId/delete.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
