# Turn a feature flag on or off (internal) **PATCH /admin/feature-flags/{key}** Sets the flag and records who changed it; the node that served the request applies it at once and other nodes within about 45 seconds. Sending the current value changes nothing. Returns 404 for a key this build does not define, including an ORPHANED one. Super admin only. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **key** (string) The flag key as defined in the FeatureFlag enum, e.g. "clio-integration" ### Body: application/json (object) - **enabled** (boolean) Desired state of the flag. Sending the value it already has is a no-op and leaves the audit fields untouched. ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) ### 404 No such feature flag in this build [Powered by Bump.sh](https://bump.sh)