Description: Replace an existing private link with a new one across affected servers. Only private links in status "Failed: not found" or "Failed" (see below response status) may be replaced.
Security: Requires a valid token
Usage: POST https://my.jfrog.com/api/jmis/v1/private-link/fix
Content-Type: application/json
Produces: application/json
Sample Usage:
curl --location 'https://my.jfrog.com/api/jmis/v1/private-link/fix' \
--header 'Authorization: Bearer <myjfrog-token>' \
--header 'Content-Type: application/json' \
--data '{
"fromPrivateLinkId": "pl-old123abc456",
"toPrivateLinkId": "pl-new789xyz012"
}'
Sample Response:
[
{
"serverName": "my-server-01",
"results": [
{
"fromPrivateLinkId": "pl-old123abc456",
"toPrivateLinkId": "pl-new789xyz012",
"status": "connecting"
}
]
},
{
"serverName": "my-server-02",
"results": [
{
"fromPrivateLinkId": "pl-old123abc456",
"toPrivateLinkId": "pl-new789xyz012",
"status": "connecting"
}
]
}
]
Response status codes:
200- Success
400- Failed
403- Account is not permitted for this action
401- Unauthorized user