---
title: "Cancel a team invitation"
method: DELETE
path: "/team/invitations/{invitationId}"
tags: ["Team"]
---

# Cancel a team invitation

`DELETE /team/invitations/{invitationId}`

Cancels a pending or expired team invitation. Requires owner or admin access.

## Path parameters

- `invitationId` string, required

## Response `200`

Invitation cancelled

- object
  - `success` boolean

## Other responses

- `400` — Invitation already accepted or cancelled
- `401` — Unauthorized
- `403` — Admin access required
- `404` — Invitation not found
- `503` — The database was temporarily unavailable. The request may be retried after the delay in Retry-After.

## Changes

> 121 revisions in range; 10 could not be searched.

- **2026-08-18** `8fbabe82a04d` — 1 info
  - added the non-success response with the status `503`
- **2026-08-16** `6fd2903b91ce` — 4 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
- **2026-08-02** `36f92fc0caa2` — 4 breaking
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `403`
  - the response property `success` became optional for the status `404`
- **2026-06-11** `ad2d3114269a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/team/invitations/:invitationId/delete.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/73f826277d9a/schema)
