Projects

Sets or removes the project's default flag lifetime, in days (1–3650; null removes it).

Temporary flags with no expiry date of their own then expire that many days after they were created, reported as expirySource: "project-default". Takes effect at the next hourly staleness run. Requires at least Member, and the default-flag-lifetime feature to set one (400 FEATURE_NOT_ENABLED); removing one is always allowed. days is required; send {"days": null} to remove.

put/api/v1/orgs/{org}/projects/{project}/default-flag-lifetime

Request

  • Base URL: https://api.featureflip.io
  • URL: https://api.featureflip.io/api/v1/orgs/{org}/projects/{project}/default-flag-lifetime
  • Auth: API key in header Authorization

Path parameters

orgstring required
projectstring required

Request body

daysinteger nullable required

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.