---
title: "Update Customer Assigned User List"
method: POST
path: "/customers/{customerId}/account-managers"
tags: ["Assigned Users"]
---

# Update Customer Assigned User List

`POST /customers/{customerId}/account-managers`

## Request

- Base URL: `https://api.upflow.io/v1`
- URL: `https://api.upflow.io/v1/customers/{customerId}/account-managers`
- Auth: API key in header `X-Api-Key` and API key in header `X-Api-Secret`

This endpoint can be used to update the list of assigned users for a specific customer.

## Request body

- object
  - `userIds` string[], required: List of user IDs to assign to the customer.

## Response `200`

Assigned user list updated.

- object
  - `total` integer, required: Total number of assigned users for the customer.
  - `items` AccountManager[], required: Assigned user items.
    - `user` User: Represents an Upflow user.
      - `id` string, uuid, required: The User ID.
      - `position` 'ACCOUNT_MANAGER' | 'FINANCE_USER' | 'ACCOUNTANT', required: The role or position of the user within Upflow.
      - `firstName` string
      - `lastName` string
      - `phone1` string, nullable
      - `phone2` string, nullable
      - `email` string, email, required
    - `createdAt` string, date-time: The date at which the user was assigned (ISO 8601 format).

---

[API](https://skmtc.dev/upflow/apis/upflow-api.md) - [All operations](https://skmtc.dev/upflow/apis/upflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upflow/apis/upflow-api/revisions/898a98ca0587?raw)
