The Package Reroute Config API provides REST endpoints for programmatic management of Package Traffic Controller (PTC) configuration in JFrog Artifactory—for example, reading settings and configuring which Artifactory remote repository handles each package type.
Important: The
repo_keyfor each registry type must reference an existing remote repository. Virtual repositories are not supported—PTC requires the upstream-facing remote to track consumption accurately and apply Curation configuration automatically. ThePUT /artifactory/api/package-reroute/config/{type}endpoint rejects non-remoterepo_keyvalues.
Whether Package Reroute is available for your instance is determined by your JFrog license and subscription (and related entitlement); it is not something you turn on via a documented customer enable API. Coordinate with your JFrog account team for licensing.
Defaults and naming: The service's Router path, /package-reroute, is product-defined and not customer-configurable. The external redirect endpoint is /artifactory/api/package-reroute, and the configuration endpoints use the fixed prefix /artifactory/api/package-reroute/config. GET /artifactory/api/package-reroute/config returns the stored per-type repository mappings; it does not expose a separate redirect path setting. PUT /artifactory/api/package-reroute/config/{type} sets the repo_key (remote repository name) that receives rerouted traffic for each package type.
All endpoints require admin privileges. Authenticate using Bearer token (JWT) or Basic auth.
For deployment and operator guidance, see Package Traffic Controller in JFrog Security documentation.
Related Topics
- Get Full Configuration —
GET /artifactory/api/package-reroute/config - Get Registry Configuration —
GET /artifactory/api/package-reroute/config/{type} - Update Registry Configuration —
PUT /artifactory/api/package-reroute/config/{type} - Delete Registry Configuration —
DELETE /artifactory/api/package-reroute/config/{type} - Configure Artifactory for PTC
- Deployment and Rollout
