# Atualizar url de webhook

### Exemplo de body a ser enviado

```json
{
    "url": "https://google.com"
}
```

<mark style="color:green;">`POST`</mark> `https://api.astraapi.com/api/instance/webhook/{{instanceId}}`

#### Path Parameters

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

#### Headers

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

#### Request Body

| Name                                  | Type   | Description    |
| ------------------------------------- | ------ | -------------- |
| url<mark style="color:red;">\*</mark> | String | Url do webhook |

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

{% endtab %}
{% endtabs %}
