Get Project Role

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

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

project_key *

string

(path)

The project key

role *

string

(path)

The role name

Header parameter: Authorization: Bearer

Sample Response:

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