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

# Assign a Business Role to a User

`POST /accountmanager.assignbusinessrole/{userId}`

Assigns a business role to a user.

## Request body

- object
  - `data` object, required
    - `assign` boolean, required — Set to `true` to assign the business role to the user. 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 role you want to assign or revoke. Either `typedId` or `uniqeName` is required.

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