# Atualizar nome do grupo

### Exemplo de body a ser enviado

```json
{
    "groupId": "120363046176525911@g.us",
    "name": "aaaaa"
}
```

<mark style="color:orange;">`PUT`</mark> `https://api.astraapi.com/api/group/name/{{instanceId}}`

#### Path Parameters

| Name                                         | Type   | Description         |
| -------------------------------------------- | ------ | ------------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | Número da instancia |

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Seu token de segurança |

#### Request Body

| Name                                      | Type   | Description   |
| ----------------------------------------- | ------ | ------------- |
| groupId<mark style="color:red;">\*</mark> | String | Id do grupo   |
| name<mark style="color:red;">\*</mark>    | String | Nome do grupo |

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

{% endtab %}
{% endtabs %}
