> ## Documentation Index
> Fetch the complete documentation index at: https://docs.msgflash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PUT Mettre à jour un groupe

> Met à jour un groupe de contacts.

## Endpoint

```txt theme={null}
PUT /api/v1/contacts/groups/{groupId}
```

## Paramètres path

| Nom       | Type | Requis | Description  |
| --------- | ---- | ------ | ------------ |
| `groupId` | UUID | oui    | ID du groupe |

## Body

| Champ         | Type   | Requis | Description          |
| ------------- | ------ | ------ | -------------------- |
| `name`        | string | non    | Nouveau nom          |
| `description` | string | non    | Nouvelle description |
| `color`       | string | non    | Nouvelle couleur     |

## Réponse succès `200`

```json theme={null}
{
  "data": {
    "id": "grp_uuid",
    "name": "Clients VIP"
  }
}
```
