---
title: "Update User Accounts"
method: PUT
path: "/public/v3/Users/{userId}/accounts"
tags: ["Users"]
---

# Update User Accounts

`PUT /public/v3/Users/{userId}/accounts`

Update the accounts that a user will have access to.

## Path parameters

- `userId` string, required

## Headers

- `x-tive-account-id` integer, required

## Request body

- UserAccountRequest
  - `accountIds` integer[], required — The list of account IDs the user will belong to.

## Response `200`

The user accounts have been updated

## Other responses

- `400` — Unable to update user accounts. See response message for details.
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/tive/apis/tive-public-api.md) · [All operations](https://skmtc.net/tive/apis/tive-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tive/tive-public-api/revisions/9a8d869e3cdc/schema)
