> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/api-reference/membership/roles/get-role.md).

# Get Role

A **role** bundles one or more policies and is assigned to users to control what they can do — this is Norbix's role-based access control (RBAC). Roles are project-scoped and managed in the Membership module.

This endpoint returns a single role by id.

{% openapi src="/files/sSNsrg46S1BBoQLfucLf" path="/{version}/membership/roles/{Id}" method="get" %}
[norbix-hub-swagger.json](https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-1c88e0eff2a2e768b59c83c5f279cafc05fb5e77%2Fnorbix-hub-swagger.json?alt=media)
{% endopenapi %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Membership → Roles](/norbix-cloud/membership/roles.md).

## Use it from code

Every Norbix SDK exposes this endpoint as a method — see [Get Role](/sdks-and-cli/membership/roles/get-role.md) in the SDK reference, with examples in every language.
