---
title: "Get Role Data Access"
method: GET
path: "/{roleId}/data-access"
---

# Get Role Data Access

`GET /{roleId}/data-access`

## Request

- Base URL: `https://api.umbrellacost.io/api/v2/user-management/roles`
- URL: `https://api.umbrellacost.io/api/v2/user-management/roles/{roleId}/data-access`
- Auth: none declared. Required headers: `Authorization`, `apikey`

Get the data access of a role

## Path parameters

- `roleId` string, required

## Headers

- `Authorization` string, required
- `apikey` string, required

## Response `200`

Successful operation

- object[]
  - `ownerOrganization` string
  - `derivedFromRole` object
    - `id` string
    - `displayName` string
  - `payerAccounts` object
    - `allLinkedAccountsOfAllPayerAccounts` boolean
    - `payerToLinkedAccounts` object
      - `322609200000` object
        - `all` boolean
        - `items` string[]
  - `costCenters` object
    - `all` boolean
    - `items` string[]
  - `resellerCustomers` object
    - `all` boolean
    - `items` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/umbrellacost/apis/user-management-roles-api.md) - [All operations](https://skmtc.dev/umbrellacost/apis/user-management-roles-api/llms.txt) - [OpenAPI document](https://skmtc.dev/umbrellacost/apis/user-management-roles-api/revisions/d4427b9dd512?raw)
