Feature flag definition

A Feature flag definition is the configuration of a feature flag in a specific environment such as production or staging.

{
	"name": String,
	"environment": { "id": String, "name": String },
 	"trafficType": { "id": String, "name": String },
	"killed": Boolean,
	"treatments": [ Treatment ],
	"defaultTreatment": String,
	"trafficAllocation": Number,
	"rules": [ Rule ], 
	"defaultRule": [ Bucket ],
	"creationTime": Number,
	"lastUpdateTime": Number,
}

The minimum required fields for configuring a Feature flag definition are treatments, defaultTreatment, and defaultRule.

For detailed examples on how to perform actions on a Feature flag definition, check: