Validate Target for Circle of Trust

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Validates target for circle of trust.

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: POST /api/v1/system/federation/validate_server

Produces: text/plain

Sample usage:

curl -H "Authorization: Bearer <TOKEN>" -XPOST "<ART_URL_1>/access/api/v1/system/federation/validate_server" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"url\": \"<ART_URL_2>/access\"}" -v

Response Codes:

204 Successfully validated

400 Invalid input

401 Unauthorized

403 Forbidden

412 Precondition Failed - Circle of trust validation failed (response from target server: XXX)