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