---
title: "Copy Roles"
method: POST
path: "/accountmanager.copyroles"
tags: ["User Admin"]
---

# Copy Roles

`POST /accountmanager.copyroles`

Copies roles from the existing user to other users.

## Request body

- object
  - `data` object, required
    - `from` string, required — The `typedId` of the source user.
    - `to` string[], required — The `typedId`s of target users.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` unknown
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/revisions/0850b5d6be73/schema)
