---
title: "Update user"
method: PATCH
path: "/user/{fullname}"
tags: ["User"]
---

# Update user

`PATCH /user/{fullname}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/user/{fullname}`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/user/:fullname/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `fullname` string, required

## Headers

- `X-Auth-Token` string, required

## Request body

- RESTUserConfigData
  - `config` RESTUserConfig, required
    - `fullname` string, required
    - `password` string
    - `new_password` string
    - `pwd_profile` string, required
    - `email` string
    - `role` string
    - `timeout` integer
    - `locale` string
    - `role_domains` object
      - `role` string
      - `domains` string[]

## Response `200`

Success

## Other responses

- `403`: Error

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
