networking
Create a PrivateLink endpoint
Changed onCreates a PrivateLink endpoint for a project. 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.
post/v1/networking/privatelink/endpoints
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/networking/privatelink/endpoints
- Auth: HTTP bearer
Query parameters
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
{
"projectId": "prj_a1b2c3d4e5f6g7h8",
"name": "payments-db",
"vercelRegion": "iad1",
"awsServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0"
}Response
The PrivateLink endpoint was created and is being provisioned.
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
- info
added the non-success response with the status
- info