---
title: "Update user info"
method: POST
path: "/inlong/manager/api/user/update"
tags: ["User-Auth-API"]
---

# Update user info

`POST /inlong/manager/api/user/update`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- UserInfoRequest
  - `accountType` integer, required: Account type: 0 - manager, 1 - operator
  - `encryptVersion` integer: Encryption key version
  - `extParams` string: Extension json info
  - `id` integer: Primary key
  - `keyword` string: Keyword, can be user name
  - `name` string, required: User name
  - `newPassword` string: New password, is required if needs updated
  - `orderField` string: Order field, support create_time and modify_time, default is create_time
  - `orderType` string: Order type, only support asc and desc, default is desc
  - `pageNum` integer: Current page number, default is 1
  - `pageSize` integer: Page size, default is 10
  - `password` string: User password
  - `privateKey` string: Private key
  - `publicKey` string: Public key
  - `secretKey` string: Secret key
  - `validDays` integer, required: Valid days
  - `version` integer: Version number

## Response `200`

OK

- ResponseInt
  - `data` integer
  - `errMsg` string
  - `success` boolean

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
