---
ai:
  exclude: true
search:
  tags:
    - role
    - GET
seo:
  description: >-
    Get a specific ProjectRole available in Jira. Reference for the GET
    /api/2/role/{id} endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Get a specific project role
  badge: GET
title: Get a specific project role
type: openapi-operation
---
Get a specific ProjectRole available in Jira.

`GET /api/2/role/{id}`

**Responses**

- `200` — Returns full details of the role available in Jira.
- `401` — Returned if the requesting user is not logged in.
- `403` — Returned if the requesting user is not an admin or a sysadmin.
- `404` — Returned if the role with the given id does not exist.

Response example, 200:

```json
{
  "actors": [
    {
      "name": "jira-developers"
    }
  ],
  "description": "A project role that represents developers in a project",
  "id": 10360,
  "name": "Developers",
  "self": "http://www.example.com/jira/rest/api/2/project/MKY/role/10360"
}
```
