Get Groups

JFrog REST APIs

ft:sourceType
Paligo

Note

From Artifactory release 7.49.3, this API is being replaced by the new SECURITY APIs available in the JFrog Platform.

Description: Get the groups list

Since: 2.4.0

Notes: Requires Artifactory Pro

Security: Requires an admin user

- To support spaces in the User or Group or Permission names, a Plus symbol ('+') is automatically placed when there is a space. This is set by default as the artifactory. security.api.plus.insteadof.space property is set to true. If you want to use the + (plus) symbol, set the artifactory. security.api.plus.insteadof.space to false.

Usage: GET /api/security/groups

Produces: application/json (application/vnd.org .jfrog.artifactory.security.Users+json) , application/json (application/vnd.org.jfrog.artifactory.security.Groups+json), application/json (application/vnd.org.jfrog.artifactory.security.PermissionTargets+json)

Sample Output:

GET /api/security/groups
[
  {
    "name": "readers"
    "uri" : "http://localhost:8081/artifactory/api/security/groups/readers"
  }, {
    "name": "tech-leads"
    "uri" : "http://localhost:8081/artifactory/api/security/groups/tech-leads"
  }
]