---
title: "List workspace roles"
method: GET
path: "/v1/workspaces/{id}/roles"
tags: ["workspaces"]
---

# List workspace roles

`GET /v1/workspaces/{id}/roles`

Returns the workspace's roles with the permission names each role grants. Use the role ids when inviting members or changing a member's role.

## Path parameters

- `id` string, required — Workspace identifier.

## Response `200`

Workspace roles

- object — Workspace roles with the permission names each role grants.
  - `data` object[], required
    - `role_id` string, required
    - `name` string, required
    - `is_default` boolean, required
    - `permissions` string[], required — Permission names granted to the role.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `429` — Rate limit exceeded

---

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