---
title: "Revoke a pending external invite"
method: DELETE
path: "/workspace/external-invites/{kind}/{invitationId}"
tags: ["access-requests"]
---

# Revoke a pending external invite

`DELETE /workspace/external-invites/{kind}/{invitationId}`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/workspace/external-invites/{kind}/{invitationId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

kind is project or org (which invitation table holds it). Gated by manage-sharing on the resource the invite's pendingGrant names.

## Path parameters

- `kind` string, required
- `invitationId` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

{ success: true }

## Other responses

- `400`: Validation error
- `401`: Unauthorized - missing or invalid JWT
- `403`: Forbidden - insufficient role

---

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