Get All Access Federations

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns all federation targets' configurations.

Security:

  • Prior to release 7.12.0: Requires an admin user (basic credentials only). Requires execution from access localhost.

  • From release 7.12.0: Requires a valid admin-scoped token. The API no longer supports basic authentication.

Usage: GET /api/v1/system/federation

Produces: text/plain

Sample Usage

curl -H "Authorization: Bearer <Token>" GET "http://localhost:8082/access/api/v1/system/federation/" -H "accept: application/json"

Response Codes:

200 Successful operation

200 Successful operation

{
  "configurations": [
    {
      "name": "access-2",
      "url": "https://access.example.com/access/",
      "entities": [
        "users",
        "groups",
        "permissions"
      ],
      "permissionFilters": {
        "includePatterns": [
          "team_a_*"
        ],
        "excludePatterns": [
          "none_federated_*"
        ]
      },
      "active": true
    }
  ]
}

401 / 403 Unauthenticated or unauthorized