Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
environments
/
{envId}
/
sync
curl -X POST https://nest.feather.mupeni.dev/v1/projects/proj_01hx.../environments/env_01hx.../sync \
  -H "Authorization: Bearer <server_key>"
{
  "environmentId": "env_01hx...",
  "flagCount": 12,
  "syncedAt": "2024-04-11T10:00:00.000Z"
}
The edge cache is updated automatically on every flag config change. Use this endpoint to force a refresh if evaluations are serving stale data.

Path parameters

projectId
string
required
envId
string
required
curl -X POST https://nest.feather.mupeni.dev/v1/projects/proj_01hx.../environments/env_01hx.../sync \
  -H "Authorization: Bearer <server_key>"
{
  "environmentId": "env_01hx...",
  "flagCount": 12,
  "syncedAt": "2024-04-11T10:00:00.000Z"
}