Add Private Link to Servers

JFrog REST APIs

Content Type
REST API

Description: Add a private link configuration to one or more servers.

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: POST https://my.jfrog.com/api/jmis/v1/private-link/add

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location 'https://my.jfrog.com/api/jmis/v1/private-link/add' \
--header 'Authorization: Bearer <myjfrog-token>' \
--header 'Content-Type: application/json' \
--data '{
    "privateLinkId": "pl-abc123def456",
    "serverNames": [
        "my-server-01",
        "my-server-02"
    ]
}'

Sample Response:

{
  "privateLinkId": "pl-abc123def456",
  "results": [
    {
      "serverName": "my-server-01",
      "privateLinkStatus": "connecting"
    },
    {
      "serverName": "my-server-02",
      "privateLinkStatus": "connecting"
    }
  ]
}

Response status codes:

200- Success

400- Failed

403- Account is not permitted for this action

401- Unauthorized user