Edit a Global Role

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Update an existing custom or predefined global role.

Since: 7.77

Security: Bearer access token authentication is required.

Usage: PUT ${baseUrl}/access/api/v1/roles/{role}

Produces: application/json

Sample Request:

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

Success Response Codes

200: Success.

Error Response Codes

400: The request payload is malformed.

401: Invalid credentials

403: Insufficient permissions.

404: Not found.