Configures Static IPs for a project
PATCH
https://api.vercel.com/v1/projects/{idOrName}/shared-connect-linksAllows configuring Static IPs for a project
https://api.vercel.com/v1/projects/{idOrName}/shared-connect-links
const response = await fetch('https://api.vercel.com/v1/projects/idOrName/shared-connect-links?teamId=string&slug=string', { method: 'PATCH', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ "builds": "true", "regions": [] }),});
const data = await response.json();console.log(data);Response
[ { "aws": { "securityGroupId": "https://example.com", "subnetIds": [] }, "buildsEnabled": "false", "connectConfigurationId": "example_id", "createdAt": "123", "dc": "string", "envId": "example_id", "passive": "false", "updatedAt": "123" }]AuthorizationbearerToken
Default authentication mechanism