---
title: "Deactivate Active Message"
method: POST
path: "/pinned-messages/active/deactivate"
tags: ["pinned-messages"]
---

# Deactivate Active Message

`POST /pinned-messages/active/deactivate`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/pinned-messages/active/deactivate/post.ts> (a function with typed inputs; its response is checked against the schema)

Деактивировать текущее активное закреплённое сообщение.

Не удаляет сообщение и не открепляет у пользователей.

## Response `200`

Successful Response

- PinnedMessageResponse
  - `id` integer, required
  - `content` string, nullable, required
  - `media_type` string, nullable
  - `media_file_id` string, nullable
  - `send_before_menu` boolean, required
  - `send_on_every_start` boolean, required
  - `is_active` boolean, required
  - `created_by` integer, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/pinned-messages/active/deactivate/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
