Description: Returns the requested project role.
Since: 7.17.4
Security: Requires a user with the Project Admin role or a user with the Platform Administrator role.
Usage: GET ${baseUrl}/access/api/v1/projects/{project_key}/roles/{role}
Produces: application/json; charset=UTF-8
Parameters:
Name | Description |
|---|---|
(path) | The project key |
(path) | The role name |
Header parameter: Authorization: Bearer
Sample Response:
{
"name": "senior developer",
"actions": [
"READ_REPOSITORY"
],
"type": "CUSTOM",
"environments": [
"DEV"
]
}