---
title: "Get Roles"
method: GET
path: "/api/v2/authz/roles/{scope}"
tags: ["Authorization - Roles"]
---

# Get Roles

`GET /api/v2/authz/roles/{scope}`

## Path parameters

- `scope` 'dataset' | 'data_product' | 'domain' | 'global', required

## Response `200`

Successful Response

- GetRolesResponse
  - `roles` Role[], required
    - `name` string, required
    - `scope` 'dataset' | 'data_product' | 'domain' | 'global', required
    - `description` string, required
    - `permissions` AuthorizationAction[], required
    - `id` string, uuid, required
    - `prototype` 0 | 1 | 2 | 3, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/conveyordata/apis/data-product-portal.md) · [All operations](https://skmtc.net/conveyordata/apis/data-product-portal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conveyordata/data-product-portal/revisions/0fe6374dedc9/schema)
