---
title: "Map user(s) to a department."
method: POST
path: "/api/MapUsers"
tags: ["Accounts"]
---

# Map user(s) to a department.

`POST /api/MapUsers`

## Headers

- `Authorization` string, required
- `UserName` string

## Request body

- EmsignerAPIBusinessObjectMapUsersToDepartment — Get OCR details by Document Id.
  - `SubscriberIds` string, required — Subscriber Ids(fetched using ListUsers) - comma separeted values of Subscribers to be mapped
  - `DepartmentID` integer, required — DepartmentID - Id of created department (fetched using ListDepartments)

## Response `200`

OK

- EMDMSHelperReturnObjectSystemInt64
  - `IsSuccess` boolean
  - `Messages` string[]
  - `ErrorCode` integer
  - `Response` integer

---

[API](https://skmtc.dev/emsigner/apis/emsignerapi.md) · [All operations](https://skmtc.dev/emsigner/apis/emsignerapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emsigner/emsignerapi/revisions/7d5d55e0d91d/schema)
