feature_flags
Archive a feature flag, hiding it from the default flag list.
Sets archived to true. An archived flag must be disabled, so an enabled flag also gets active set to false in the same write. Targeting, variants and payloads are left as they are, and linked experiment and survey history is preserved. Archiving an enabled flag is refused when other active flags depend on it. An already-archived flag is returned unchanged.
post/api/projects/{project_id}/feature_flags/{id}/archive/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/feature_flags/{id}/archive/
- Auth: HTTP bearer
Path parameters
idinteger required
A unique integer value identifying this feature flag.
project_idstring required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.