---
title: "Updates the meta data for a user."
method: PUT
path: "/users/{userid}"
---

# Updates the meta data for a user.

`PUT /users/{userid}`

## Path parameters

- `userid` number, required

## Request body

- object
  - `FirstName` string
  - `LastName` string
  - `Email` string
  - `InternalID` string
  - `Gender` 'M' | 'F'
  - `EthnicityID` number
  - `AgeRange` string
  - `HowManyCoursesTaken` string

## Response `200`

User metadata updated.

- UserDetail
  - `UserId` string
  - `FirstName` string
  - `LastName` string
  - `Email` string, email
  - `InternalId` string
  - `AccessCode` string — The user's assessment access (PIN) code.
  - `CompletionPercentage` string — Percentage of the assessment completed (0-100).
  - `DateTimeStarted` string, date-time
  - `DateTimeLastUpdated` union — Date the assessment was last updated. Empty array if not yet updated.
    - string, date-time
    - unknown[]
      - unknown
  - `DateTimeCompleted` union — Date the assessment was completed. Empty array if not yet completed.
    - string, date-time
    - unknown[]
      - unknown
  - `HowManyCourses` unknown[]
    - unknown
  - `AgeRange` unknown[]
    - unknown
  - `Gender` unknown[]
    - unknown
  - `Uri` string — Relative URI for this user.
  - `CustomData` object[] — Custom question responses configured for the account.
    - `QuestionId` string
    - `ParameterId` string — The parameter name used when passing custom data into the system.
    - `Response` union — The user's response. Empty array if no response has been recorded.
      - string
      - unknown[]
        - unknown

## Changes

- **2026-06-09** `793d3e626da1` — 1 info
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/smarterservices/apis/multi-server-api/changes/users/:userid/put.md)

---

[API](https://skmtc.dev/smarterservices/apis/multi-server-api.md) · [All operations](https://skmtc.dev/smarterservices/apis/multi-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smarterservices/multi-server-api/revisions/793d3e626da1/schema)
