---
title: "GET /v1/roles"
method: GET
path: "/v1/roles"
tags: ["Access"]
---

# GET /v1/roles

`GET /v1/roles`

## Response `200`

A successful response.

- GoliothListRoleResponse
  - `list` GoliothRole[]
    - `children` string[]
    - `id` string
    - `name` string
    - `permissions` GoliothPermission[]
      - `action` string
      - `resource` string
    - `type` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) · [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/golioth/golioth-api/revisions/47c98ae69a55/schema)
