---
title: "POST /api/v1/applications/{applicationId}/roleAssignments"
method: POST
path: "/api/v1/applications/{applicationId}/roleAssignments"
tags: ["Applications"]
---

# POST /api/v1/applications/{applicationId}/roleAssignments

`POST /api/v1/applications/{applicationId}/roleAssignments`

Creates a user-to-role mapping in the specified blockchain application. This method can only be performed by
             users who are Workbench administrators.

## Path parameters

- `applicationId` integer, required

## Request body

- RoleAssignmentInput
  - `userId` integer
  - `applicationRoleId` integer

## Response `200`

OK

## Other responses

- `204` — No Content

---

[API](https://skmtc.net/azure/apis/azure-blockchain-workbench-rest-api.md) · [All operations](https://skmtc.net/azure/apis/azure-blockchain-workbench-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-blockchain-workbench-rest-api/versions/87f9d32cbefd/schema)
