Get All Permissions

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get all permissions.

Since: 2.0

Security: Admin only.

Usage: GET /api/v1/security/permissions

Request Headers: N/A

Consumes: application/json

cURL Example

$ curl -X GET -u user:password "http://ARTIFACTORY_SERVER_HOSTNAME:8082/distribution/api/v1/security/permissions"

Response status codes:

200 - Success

Response headers: N/A

Produces: application/json

Response

[
    {
        "distribution_destinations": [
            {
                "site_name": "*",
                "city_name": "*",
                "country_codes": [
                    "*"
                ]
            }
        ],
        "name": "permission-name",
        "resource_type": "destination",
        "principals": {
            "users": {
                "anonymous": [
                    "x"
                ]
            },
            "groups": {
                "readers": [
                    "x"
                ]
            }
        }
    }
]