Get Roles List

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

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 /v1/projects/{project_key}/roles

Produces: application/json; charset=UTF-8

Parameters:

Name

Description

project_key *

string

(path)

The project key

Header parameter: Authorization: Bearer

Sample Response:

[
  {
    "name": "senior developer",
    "actions": [
      "READ_REPOSITORY"
    ],
    "type": "CUSTOM",
    "environments": [
      "DEV"
    ]
  }
]