---
title: "PUT /user/{userId}"
method: PUT
path: "/user/{userId}"
---

# PUT /user/{userId}

`PUT /user/{userId}`

Modifies the details of the specified user account. You cannot update the <code>userId</code> for a user.

## Path parameters

- `userId` string, required

## Request body

- object
  - `type` 'SUPER_USER' | 'APP_USER' — <p>The option to indicate the type of user.</p> <ul> <li> <p> <code>SUPER_USER</code>– A user with permission to all the functionality and data in FinSpace.</p> </li> <li> <p> <code>APP_USER</code> – A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.</p> </li> </ul>
  - `firstName` string, password — The first name of the user.
  - `lastName` string, password — The last name of the user.
  - `apiAccess` 'ENABLED' | 'DISABLED' — <p>The option to indicate whether the user can use the <code>GetProgrammaticAccessCredentials</code> API to obtain credentials that can then be used to access other FinSpace Data API operations.</p> <ul> <li> <p> <code>ENABLED</code> – The user has permissions to use the APIs.</p> </li> <li> <p> <code>DISABLED</code> – The user does not have permissions to use any APIs.</p> </li> </ul>
  - `apiAccessPrincipalArn` string — The ARN identifier of an AWS user or role that is allowed to call the <code>GetProgrammaticAccessCredentials</code> API to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
  - `clientToken` string — Idempotence Token for API operations

## Response `200`

Success

- UpdateUserResponse
  - `userId` string — The unique identifier of the updated user account.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — ThrottlingException
- `483` — AccessDeniedException
- `484` — ResourceNotFoundException
- `485` — ConflictException

---

[API](https://skmtc.net/aws/apis/finspace-data.md) · [All operations](https://skmtc.net/aws/apis/finspace-data/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/finspace-data/versions/d7561d153837/schema)
