---
title: "PUT /users/{username}/"
method: PUT
path: "/v1/users/{username}/"
---

# PUT /users/{username}/

`PUT /v1/users/{username}/`

Change properties of a single user

## Path parameters

- `username` string, required

## Request body

- object
  - `first_name` string — first name
  - `last_name` string — last name
  - `github_username` string — github username
  - `password` string — password
  - `is_eng_user` boolean — is an engineering user with UNIX access
  - `is_posix_user` boolean — is a user that has Posix info. NOTE: if is_eng_user is set to 'true' this value is ignored
  - `is_active` boolean — is active and allowed to access LDAP & RADIUS
  - `custom_fields` object — JSON object with keys as custom fields
    - `custom_field_name_1` string — Set the key as the custom field name. The variable name, not the display name. e.x. '{"custom_fields" : {"custom_field_name_1": "value_1", "custom_field_name_2": "value_2"}}'
    - `custom_field_name_2` string — Set the key as the custom field name. The variable name, not the display name. e.x. '{"custom_fields" : {"custom_field_name_1": "value_1", "custom_field_name_2": "value_2"}}'
  - `uid` integer — uid value
  - `gid` integer — gid value
  - `shell` string — default shell
  - `username` string — update the username
  - `email` string — update the user email

## Response `200`

200

- object
  - `status` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/foxpass/apis/api-instructions.md) · [All operations](https://skmtc.net/foxpass/apis/api-instructions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/foxpass/api-instructions/versions/d0d15848629a/schema)
