Get Servers by Private Link ID

JFrog REST APIs

Content Type
REST API

Description: Retrieve all servers associated with a specific private link.

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: GET https://my.jfrog.com/api/jmis/v1/private-link/{privateLinkId}

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location 'https://my.jfrog.com/api/jmis/v1/private-link/pl-abc123def456' \
--header 'Authorization: Bearer '

Sample Response:

{
  "privateLinkId": "pl-abc123def456",
  "servers": [
    {
      "serverName": "myServer01",
      "privateLinkStatus": "connected"
    },
    {
      "serverName": "myServer02", 
      "privateLinkStatus": "connected"
    }
  ]
}

Response status codes:

200- Success

400- Failed

403- Account is not permitted for this action

401- Unauthorized user