# Bỏ ghim tin nhắn

1. Body

<table><thead><tr><th width="135">Name</th><th width="288">Type</th><th>Description</th></tr></thead><tbody><tr><td>service</td><td>message</td><td></td></tr><tr><td>method</td><td>unPinMsg</td><td></td></tr><tr><td>data</td><td><pre class="language-json"><code class="lang-json">{
    "method": "unPinMsg",
    "service": "message",
    "data": {
        "accountId": "39456257143545255",
        "toId": "7070722571989963531",
        "group": true,
        "clientMsgId": "1726471613254",
        "globalMsgId": "5836005608509",
        "senderId": "39456257143545255",
        "topicId": "552073804",
        "topicType": 2
    }
}
</code></pre></td><td><ul><li>group: <em>true/false</em></li><li>globalMsgId: <em>msgId</em></li></ul></td></tr></tbody></table>

2. Response

{% tabs %}
{% tab title="200" %}

```json
{
    "data": {
        "error_message": "Successful.",
        "data": "",
        "error_code": 0
    },
    "status": "success"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
    "status": "error",
    "error": {
        "message": "Something wrong was happened.",
        "code": null,
        "prms": null
    }
}
```

{% endtab %}
{% endtabs %}
