> For the complete documentation index, see [llms.txt](https://docs.gestao.plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gestao.plus/api/private/atualizar-contato.md).

# Atualizar Contato

## Atualizar o contato

<mark style="color:purple;">`PATCH`</mark> `https://api.gestao.plus/user-contact/:id`

Com esta rota você pode atualizar as informações de um contato.

#### Path Parameters

| Name                                 | Type   | Description                                 |
| ------------------------------------ | ------ | ------------------------------------------- |
| id<mark style="color:red;">\*</mark> | string | ID do contato que terá seus dados alterados |

#### Headers

| Name                                            | Type   | Description                              |
| ----------------------------------------------- | ------ | ---------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Access Token no formato (Bearer {token}) |
| Origin<mark style="color:red;">\*</mark>        | string | URL de origem                            |

#### Request Body

| Name                | Type   | Description                                                  |
| ------------------- | ------ | ------------------------------------------------------------ |
| Atributo do Contato | string | Preencha o valor do atributo correspondente ao contato aqui. |

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

```
{
    "phone": "62123",
    "_links": {
        "self": {
            "href": "https://api.gestao.plus/user-contact/20"
        }
    }
}
```

{% endtab %}

{% tab title="403 " %}

```
{
    "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
    "title": "Forbidden",
    "status": 403,
    "detail": "Forbidden (indicator scope)"
}
```

{% endtab %}
{% endtabs %}
