---
title: "Revoke a pending invitation"
method: DELETE
path: "/v1/workspaces/{id}/members/invitations/{invitationId}"
tags: ["workspaces"]
---

# Revoke a pending invitation

`DELETE /v1/workspaces/{id}/members/invitations/{invitationId}`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/workspaces/{id}/members/invitations/{invitationId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

Revoke a pending invitation so its accept token stops working. 404 `invitation_not_found` when it is not pending in this workspace.

## Path parameters

- `id` string, required
- `invitationId` string, required

## Response `200`

Revoked

- object
  - `id` string, required
  - `revoked` true, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

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