Delete Private Link from Servers

JFrog REST APIs

Content Type
REST API

Description: Remove a private link configuration from one or more servers.

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: DELETE https://my.jfrog.com/api/jmis/v1/private-link/delete

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location --request DELETE 'https://my.jfrog.com/api/jmis/v1/private-link/delete' \
--header 'Authorization: Bearer ' \
--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": "removing"
    },
    {
      "serverName": "my-server-02",
      "privateLinkStatus": "removing"
    }
  ]
}

Response status codes:

200- Success

400- Failed

403- Account is not permitted for this action

401- Unauthorized user