networking
Update a PrivateLink endpoint
Changed onUpdates a PrivateLink endpoint (name, privateDns). Changes to endpoints of the same project are serialized. If another change holds them for too long, the request fails with 503 service_unavailable and can be retried. If the change may have completed but the outcome is unknown, it fails with 409 uncertain_outcome; read the endpoint before retrying.
patch/v1/networking/privatelink/endpoints/{endpointId}
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/networking/privatelink/endpoints/{endpointId}
- Auth: HTTP bearer
Path parameters
endpointIdstring required
The unique identifier of the PrivateLink endpoint.
Example:ple_a1b2c3d4e5f6g7h8
Query parameters
projectIdstring required
The project ID the PrivateLink endpoint belongs to.
Example:prj_a1b2c3d4e5f6g7h8
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Request body
Example request
{
"name": "payments-db"
}Response
The updated PrivateLink endpoint.
Example response
{
"awsDnsEntries": [
"vpce-0123456789abcdef0-a1b2c3d4.vpce-svc-0123456789abcdef0.us-east-1.vpce.amazonaws.com"
],
"awsServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0",
"createdAt": 1610963878358,
"endpointId": "ple_a1b2c3d4e5f6g7h8",
"name": "payments-db",
"privateDnsNames": [
"payments.internal.example.com"
],
"projectId": "prj_a1b2c3d4e5f6g7h8",
"status": "available",
"statusMessage": "Endpoint did not become available in time. Try deleting and recreating, or visit https://vercel.com/help if the issue persists.",
"teamId": "team_a1b2c3d4e5f6g7h8",
"updatedAt": 1610963878358,
"vercelRegion": "iad1",
"vpcEndpointId": "vpce-0123456789abcdef0"
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info