<commit_before># Unpins a Chat Message

Unpins the chat message for the authenticated user.

| URL | Requires Auth | HTTP Method |
| :--- | :--- | :--- |
| `/api/v1/chat.unPinMessage` | `yes` | `POST` |

## Payload

| Argument | Example | Required | Description |
| :--- | :--- | :--- | :--- |
| `messageId` | `7aDSXtjMA3KPLxLjt` | Required | The message id to unpin. |

## Example Call

```bash
curl -H "X-Auth-Token: <KEY>" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/chat.unPinMessage \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt" }'
```

## Example Result

```json
{
    "success": true
}
```

## Change Log

| Version | Description |
| :--- | :--- |
| 0.59.0 | Added |
<commit_msg>Was only meant to change the heading<commit_after># Unstar a Chat Message

Unstars the chat message for the authenticated user.

| URL | Requires Auth | HTTP Method |
| :--- | :--- | :--- |
| `/api/v1/chat.unStarMessage` | `yes` | `POST` |

## Payload

| Argument | Example | Required | Description |
| :--- | :--- | :--- | :--- |
| `messageId` | `7aDSXtjMA3KPLxLjt` | Required | The message id to unpin. |

## Example Call

```bash
curl -H "X-Auth-Token: <KEY>" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/chat.unStarMessage \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt" }'
```

## Example Result

```json
{
    "success": true
}
```

## Change Log

| Version | Description |
| :--- | :--- |
| 0.59.0 | Added |

{'fraction_non_alphanumeric': 0.20801033591731266, 'fraction_numerical': 0.01937984496124031, 'mean_word_length': 2.644705882352941, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '9635', 'n_tokens_mistral': 640, 'n_tokens_neox': 606, 'n_words': 128}