---
title: "Update User"
method: PUT
path: "/programs/{programCode}/accounts/{accountIdentifier}/users/{userIdentifier}"
tags: ["Account"]
---

# Update User

`PUT /programs/{programCode}/accounts/{accountIdentifier}/users/{userIdentifier}`

Structure of API Call: PUT /programs/{programCode}/accounts/{accountIdentifier}/users/{userIdentifier} 
- Updates Select Properties of a User 

 This endpoint gives the partner the ability to update an existing user’s information.

## Path parameters

- `accountIdentifier` string, required
- `userIdentifier` string, required
- `programCode` string, required

## Headers

- `X-GD-RequestId` string, required

## Request body

- UpdateUserRequestEncrypted — Represents an update user request with encrypted user data. Inherits all properties from Gd.Bos.DataTransfer.Request.UpdateUserRequest and adds an encrypted user data payload.
  - `encryptedUserData` EncryptedData — Represents a container for encrypted data used in secure data transfer operations. Contains the encrypted payload and associated cryptographic metadata, including encryption version, ephemeral public key, and public key hash. Used to securely transmit sensitive information such as user data, ensuring confidentiality and integrity during transport.
    - `version` string, nullable — The version of the encryption algorithm used to encrypt the data (e.g., "v1", "v2").
    - `ephemeralPublicKey` string, nullable — The ephemeral public key used in the encryption process, typically for key exchange or session establishment.
    - `publicKeyHash` string, nullable — The hash of the public key used to verify the integrity and authenticity of the encryption key.
    - `data` string, nullable — The encrypted data payload, typically base64-encoded, containing the sensitive information.
  - `peerTransferAcceptPreference` string, nullable — The user's preference for accepting peer-to-peer transfers (e.g., "AutoAccept", "ManualAccept").
  - `termsAcceptances` TermsAcceptance[], nullable — A list of terms and conditions acceptances, indicating which terms the user has agreed to and the acceptance date/time.
    - `termsIdentifier` string, nullable — The unique identifier for the terms and conditions that were presented to the user.
    - `termsAcceptanceDateTime` string, nullable — The date and time when the user accepted the terms, typically in ISO 8601 format (e.g., "2023-07-01T12:34:56Z").
    - `termsAcceptanceFlag` boolean, nullable — Indicates whether the user accepted the terms (true) or declined (false).
  - `contactVerificationIdentifiers` string[], nullable — A list of contact verification identifiers (GUIDs) used to verify user contact methods (e.g., email, phone).
  - `userIdCreateDate` string, nullable — The date and time when the user identifier was created, typically in ISO 8601 format.
  - `passwordChangeDate` string, nullable — The date and time when the user's password was last changed, typically in ISO 8601 format.
  - `ignoremfa` string, nullable — Indicates whether multi-factor authentication (MFA) should be ignored for this request. Used for specific scenarios.

## Response `200`

OK

- UpdateUserResponse — Represents the response for a user update operation.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
