---
title: "Revoke Team Invitation"
method: POST
path: "/api/teams/me/invitations/{invitation_id}/revoke"
tags: ["teams"]
---

# Revoke Team Invitation

`POST /api/teams/me/invitations/{invitation_id}/revoke`

## Request

- Base URL: `https://kernelscan.io`
- URL: `https://kernelscan.io/api/teams/me/invitations/{invitation_id}/revoke`
- Auth: none declared

Withdraw a pending invite and free its seat.

404 for any code that is not THIS team's — other teams' codes and personal
invites (``team_id`` NULL) alike: confirming a foreign invitation id exists
is the same disclosure the cross-user product and job routes refuse, and
personal invites keep their existing admin-only revoke. 409 once accepted:
the invitee is a member now, and unseating members is
``DELETE /api/teams/me/members/{id}``, which has rules of its own.

## Path parameters

- `invitation_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kernelscan/apis/kernelscan-api.md) · [All operations](https://skmtc.dev/kernelscan/apis/kernelscan-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kernelscan/apis/kernelscan-api/revisions/4fa51d41484e?raw)
