Project

Set VPC endpoint restriction

Sets or updates a VPC endpoint restriction for a Neon project. When a VPC endpoint restriction is set, the project only accepts connections from the specified VPC. A VPC endpoint can be set as a restriction only after it is assigned to the parent organization of the Neon project.

post/projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

labelstring required

Human-readable name for the VPC endpoint assignment, used to identify it within the organization.

Response

Configured the specified VPC endpoint as a restriction for the specified project.

Changes

No recorded changes to this operation across all 15 revisions of this API.