Get Permission Resource Based on Permission Name and Resource Type

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Get the details of a permission resource by permission name and resource type.

Security: Requires an admin user.

Since: Artifactory 7.72.0

Usage: GET <JFrog Base URL>/access/api/v2/permissions/{permission name}/{resource type}

Sample Response JSON

curl --location 'http://example.jfrog.io/access/api/v2/permissions/Perm/build' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer cmVmdNE'

{
  "actions" : {
    "users" : { },
    "groups" : { }
  },
  "targets" : {
    "artifactory-build-info" : {
      "include_patterns" : [ "**", "beta" ],
      "exclude_patterns" : [ ]
    }
  }
}