---
title: "​/api​/users​"
method: PUT
path: "/​api​/users​"
---

# ​/api​/users​

`PUT /​api​/users​`

## Request

- Base URL: `https://totvssign.staging.totvs.app/identityintegration`
- URL: `https://totvssign.staging.totvs.app/identityintegration/​api​/users​`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/docs/​api​/users​/put.ts> (a function with typed inputs; its response is checked against the schema)

endpoint para atualizar o perfil do usuário logado.

## Request body

- object
  - `fullName` string, required: Nome completo
  - `phoneNumber` string: Telefone (mínimo 8 e máximo 15 caracteres)
  - `position` string: Cargo
  - `identification` string, required: CPF do usuário ou CNPJ do usuário | ou um ID internacional caso o identificationType seja 2.

## Response `200`

200

- object
  - `succeeded` boolean
  - `data` object
    - `id` string
    - `userName` string
    - `email` string
    - `fullName` string
    - `cpf` string
    - `userType` integer
    - `changePassword` boolean
    - `userStatus` integer
    - `cnpjLicensedCompany` string
    - `isCustomerSuccess` boolean
    - `companyName` string
    - `position` string
    - `phoneNumber` string
    - `isAdministrator` boolean
    - `isPublisher` boolean
    - `groupRoles` unknown
    - `lockoutEnabled` boolean
    - `tenantId` string
    - `identificationType` integer
  - `messages` object[]
    - `code` string
    - `description` string
  - `description` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o.md) - [All operations](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/llms.txt) - [OpenAPI document](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/revisions/0f43855140b5?raw)
