Get Access Federation Configuration for a Single JPD

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Gets the Access Federation configuration for a specific JPD. Returns the Federation targets configured for the provided JPD.

Since: 4.0

Notes:

  • Requires Artifactory Enterprise+

  • Overwrites manual configuration of Access Federation in access config files.

Security: Requires an admin user

Usage: GET /mc/api/v1/federation/{JPD ID}

Return codes:

200 - Success

400 - The JPD is not a valid Access Federation candidate.

404 - The JPD was not found.

Consumes: application/json

Sample usage:

GET /api/v1/mc/api/v1/federation/JPD-1

{
    "entities": [
        "GROUPS",
        "USERS"
    ],
    "targets": [
        {
            "name": "JFP-2",
            "code": "access2JPDId",
            "url": "http://localhost:37837/access"
        }
    ]
}