---
search:
  tags:
    - OrgStructure
    - GET
seo:
  description: >-
    Security: Any user… Reference for the GET
    /v1/warehouses/{warehouseId}/orgstructure/units/{unitId}/roleids endpoint in
    the Bpanda REST API (experimental).
sidebar:
  label: List all roles used in a unit.
  badge: GET
title: List all roles used in a unit.
type: openapi-operation
---
List all roles used in a unit.
      Get organizational roles used in this organizational unit.
      These are roles with a non empty intersection of role users
      with the users (responsible, deputy, member) of this organizational unit.
      In addition all explicitly assigned roles of this unit will be returned.

**Security:** Any user holding a Bpanda licence for the process space.

`GET /v1/warehouses/{warehouseId}/orgstructure/units/{unitId}/roleids`
