---
title: "Revoke a pending invite"
method: DELETE
path: "/v1/org/{org_id}/invites/{email}"
tags: ["Invites"]
---

# Revoke a pending invite

`DELETE /v1/org/{org_id}/invites/{email}`

Revokes a pending invite and removes the access it granted. The invite link stops working. Only a pending invite can be revoked. Unlike most deletes in this API this returns 200 and the invite, because the invite is not deleted: it stays on the list with status 'revoked', and the response is how the caller sees that.

## Response `200`

OK

- PublicInvite
  - `org_id` string, required — Organization the invite belongs to
  - `email` string, required — Address the invite was sent to, and its identifier in this API
  - `role` 'user' | 'admin' | 'support' | 'cloud_rep' | 'restricted_user', required — Role the invitee holds in the organization
  - `status` 'invited' | 'accepted' | 'rejected' | 'revoked', required — 'invited' is pending; 'accepted', 'rejected' and 'revoked' are final
  - `invited_by` string, nullable, required — Email of the user who sent the invite
  - `created_at` string, date-time, required — When the invite was first created

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method not allowed
- `409` — Conflict
- `500` — Internal server error
- `default` — Default error response

## Changes

- **2026-08-28** `3a24a8454a72` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/archera/apis/archera-ai-api/changes/v1/org/:org_id/invites/:email/delete.md)

---

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