---
search:
  tags:
    - OrgStructure
    - GET
seo:
  description: >-
    Security: Manager of… Reference for the GET
    /v1/warehouses/{warehouseId}/orgstructure/roles/{roleId}/userids endpoint in
    the Bpanda REST API (experimental).
sidebar:
  label: List all users of a role, optionally limited to a unit.
  badge: GET
title: List all users of a role, optionally limited to a unit.
type: openapi-operation
---
List all users of a role, optionally limited to a unit.
      Get all users of an organizational role. If unitId
      parameter is given the result is the intersection with
      the users of the organisational unit

**Security:** Manager of the process space.

`GET /v1/warehouses/{warehouseId}/orgstructure/roles/{roleId}/userids`
