---
title: "GET data-access by roleId"
method: GET
path: "/{roleId}/data-access"
---

# GET data-access by roleId

`GET /{roleId}/data-access`

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.net/umbrellacost/apis/admin.md) · [All operations](https://skmtc.net/umbrellacost/apis/admin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/umbrellacost/admin/versions/b0a65610726b/schema)
