---
title: "Revoke a pending invite"
method: DELETE
path: "/api/v1/orgs/{slug}/invites/{inviteId}"
tags: ["Org Members & Invites"]
---

# Revoke a pending invite

`DELETE /api/v1/orgs/{slug}/invites/{inviteId}`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/orgs/{slug}/invites/{inviteId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Deletes a pending invite so its token can no longer be redeemed. Requires the `ADMIN` org role. Recorded in the org audit log.

## Path parameters

- `slug` string, required
- `inviteId` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object
  - `success` true

---

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