Create Mesh

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Creates a mesh topology. As a prerequisite, the source and targets must have been configured properly for Access Federation.Access Federation

Since: 4.0

Notes: Requires Artifactory Enterprise+

Security: Requires an admin user

Usage: POST /mc/api/v1/federation/create_mesh

Return codes:

200 - Success

400, 422 - Invalid input

404 - JPD not found or not an Artifactory

Request Example:

POST /api/v1/federation/create_mesh
{
  "jpd_ids": [
    "JPD-12",
    "JPD-13"
  ],
  "entities": [
    "USERS",
    "GROUPS",
    "PERMISSIONS",
    "TOKENS"
  ]
}

Response Example:

[ {
  "label" : "SUCCESSFUL",
  "status" : "OK"
} ]