---
title: "Returns a role"
method: GET
path: "/roles/{id}"
tags: ["roles"]
---

# Returns a role

`GET /roles/{id}`

Returns a role for a given id

## Path parameters

- `id` string, required

## Response `200`

Successfully returned a role for a given id

- Role
  - `id` string — Unique id for a role
  - `role` string — Name of role
  - `permissions` PermissionString[] — A list of permissions associated with this role

## Other responses

- `400` — Invalid request
- `403` — Unauthorised request
- `404` — Requested id can not be found
- `500` — Failed to process the request due to an internal error

---

[API](https://skmtc.net/office-of-national-statistics/apis/permissions-api.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/permissions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/permissions-api/versions/c0050251683f/schema)
