---
title: "Revoke invite code"
method: POST
path: "/admin/invite/codes/revoke"
tags: ["Admin"]
---

# Revoke invite code

`POST /admin/invite/codes/revoke`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/admin/invite/codes/revoke`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/admin/invite/codes/revoke/post.ts> (a function with typed inputs; its response is checked against the schema)

Revoke an active invite code so it can no longer be redeemed

## Request body

- ApiRevokeInviteCodeRequest
  - `code` string

## Response `200`

A successful response.

- ApiRevokeInviteCodeResponse
  - `code` string
  - `status` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/admin/invite/codes/revoke/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
