---
title: "Revoke verification message"
description: "Revoke Telegram Gateway verification message"
openapi: "/openapi/omni-api.yaml POST /messages/revoke"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

`POST https://web.otpcod.ru/api/v1/messages/revoke`

Revoke Telegram Gateway verification message

## Authentication

- `BasicAuth` — http basic AND `X-Api-Key` — apiKey in header: `X-Api-Key`

## Request body

- Content type: `application/json`
  - request body (object)
    - `messageId` (string, required)

## Response 200

OK
  - response (object)
    - `error` (string)
    - `message_id` (string)
    - `success` (boolean)

## Response 400

Bad Request
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 401

Unauthorized
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 404

Not Found
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)

## Response 500

Internal Server Error
  - response (object)
    - `data` (object)
      - `message` (string)
      - `requestId` (string)
    - `error` (boolean)


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://iba-platform.jamdesk.app/api-specs.zip
