---
title: "Cancel an invitation"
method: DELETE
path: "/api/organizations/members/invite/{invitationId}"
tags: ["Organizations"]
---

# Cancel an invitation

`DELETE /api/organizations/members/invite/{invitationId}`

## Request

- Base URL: `https://demo.supercheck.dev`
- URL: `https://demo.supercheck.dev/api/organizations/members/invite/{invitationId}`
- Auth: API key in cookie `better-auth.session_token`

Cancel a pending invitation. Requires org_admin or org_owner. Requires an interactive browser session. Project-scoped CLI tokens receive 403.

## Response `200`

Invitation cancelled

- object
  - `success` boolean
  - `message` string

## Other responses

- `400`: Invitation is not pending
- `401`: Authentication required or token invalid
- `403`: Insufficient permissions
- `404`: Resource not found
- `500`: Internal server error

## Changes

- **2026-10-19** `bfc5fb32bad1`: 1 info
  - the endpoint scheme security `sessionCookie` was added to the API
- **2026-10-01** `0114b54c259d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/organizations/members/invite/:invitationId/delete.md)

---

[API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) - [All operations](https://skmtc.dev/supercheck-io/apis/supercheck-api/llms.txt) - [OpenAPI document](https://skmtc.dev/supercheck-io/apis/supercheck-api/revisions/7fa0162c07bd?raw)
