Description: Returns the requested project role.
Since: 7.17.4
Security: Requires a user with Project Admin or a users assigned with the 'Administer the Platform' role.
Usage: GET /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" ] }