---
title: "Assign a Business Role"
method: POST
path: "/accountmanager.assignbusinessrole"
tags: ["User Admin"]
---

# Assign a Business Role

`POST /accountmanager.assignbusinessrole`

Assigns a business role to multiple users.

## Request body

- object
  - `data` object, required
    - `assign` boolean, required — Set to `true` to assign the user to the business role. Set `false` to remove the business role from the user.
    - `typedId` string, required — `TypedId` of the business role you want to assign or revoke. Either `typedId` or `uniqeName` is required.
    - `uniqueName` string, required — `uniqueName` of the business role you want to assign or revoke. Either `typedId` or `uniqeName` is required.
    - `users` string[], required — The list of users' `typedId`s or `loginName`. Can be mixed.

## 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)
