List flags project connections
GET
/__remote/api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/connectionsLists the flags project connections of a project. By default these are the projects that may read this project's flags; with
role=consumer these are the projects whose flags this project may read. Connections are within one team and apply across environments. Requires permission to list connections on the selected project./__remote/api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/connections
const response = await fetch('/__remote/api.vercel.com/v1/projects/projectIdOrName/feature-flags/connections?role=string&teamId=string&slug=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
"value"AuthorizationbearerToken
Default authentication mechanism