feature_flags
Disable a feature flag.
Sets active to false and changes nothing else. Targeting, variants, payloads, tags and archived state are left as they are. Refused when other active flags depend on this one. An already-disabled flag is returned unchanged.
A disabled flag stops evaluating for every consumer, including a linked experiment or a session replay setting. Read the full definition first to report that impact.
post/api/projects/{project_id}/feature_flags/{id}/disable/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/feature_flags/{id}/disable/
- 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.