---
title: Revoke an invitation
description: Revokes a pending invitation.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Revoke an invitation

`DELETE /v1/workspaces/{workspaceId}/invitations/{invitationId}`

Revokes a pending invitation. Requires an admin key. This does not remove an accepted member.

## Authentication

Send `Authorization: Bearer <SPARK_API_KEY>`. Read the key from the
SPARK_API_KEY environment variable. Never print it.

## Path parameters

- `workspaceId` (string) — The workspace id.
- `invitationId` (string) — The invitation id.

## Example request

```bash
curl --request DELETE \
  --url "https://api.beta.graphon.ai/v1/workspaces/wspQ7WsH2Np5L/invitations/invC3d4E5f6G7" \
  --header "Authorization: Bearer $SPARK_API_KEY"
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
