---
title: "Revoke an invite."
method: POST
path: "/org/{slug}/invite/revoke"
tags: ["organizations"]
---

# Revoke an invite.

`POST /org/{slug}/invite/revoke`

## Request

- Base URL: `https://obeliskgate.com`
- URL: `https://obeliskgate.com/org/{slug}/invite/revoke`
- Auth: API key in cookie `obelisk_session`

## Path parameters

- `slug` string, required

## Request body

- object
  - `code` string: string

## Response `200`

Success.

## Other responses

- `default`: Error — { ok:false, reason:<code>, message?:<human> } on failures; HTTP status mirrors it.

---

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