--- title: "Unpin Message (Realtime)" slug: "unpin-message-realtime" updated: 2026-05-14T20:14:26Z published: 2026-05-14T21:50:48Z canonical: "developer.rocket.chat/unpin-message-realtime" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Unpin Message (Realtime) ![](https://cdn.us.document360.io/27ca1fd4-36d7-4cde-b4eb-97fc1652954c/Images/Documentation/Deprecated.svg) [Unpin](https://docs.rocket.chat/v1/docs/message-actions#pin-messages) a message. | Method | Requires Auth | Setting | | --- | --- | --- | | `unpinMessage` | Yes | `Message_AllowPinning` | ## Payload parameters | Argument | Example | Required | Description | | --- | --- | --- | --- | | `messageObject` | ```json { "_id": "298gMs93982Le9A7pZjo2D2iB", "rid": "64a1f373376181965ab77f54", "msg": "Whats 4*!", "ts": { "$date": 1688618709566 }, "u": { "_id": "LFdhbcNHx5zsMA7T4", "username": "test.rc", "name": "Test RC" }, "_updatedAt": { "$date": 1688618709891 }, "urls": [], "mentions": [], "channels": [], "md": [ { "type": "PARAGRAPH", "value": [ { "type": "PLAIN_TEXT", "value": "Whats 4*!" } ] } ] } ``` | Required | The message object. | ## Example call ```json {    "msg": "method",    "method": "unpinMessage",    "id": "109",    "params": [ {        "_id": "298gMs93982Le9A7pZjo2D2iB",        "rid": "64a1f373376181965ab77f54",        "msg": "Whats 4*!",        "ts": {            "$date": 1688618709566        },        "u": {            "_id": "LFdhbcNHx5zsMA7T4",            "username": "test.rc",            "name": "Test RC"        },        "_updatedAt": {            "$date": 1688618709891        },        "urls": [],        "mentions": [],        "channels": [],        "md": [            {                "type": "PARAGRAPH",                "value": [                    {                        "type": "PLAIN_TEXT",                        "value": "Whats 4*!"                    }                ]            }        ]    } ] } ``` ## Example response ```json {    "msg": "result",    "id": "109",    "result": true } ```