Delete Dynamic Config Rule
https://statsigapi.net/console/v1/dynamic_configs/{id}/rule/{ruleId}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredDynamic Config ID
ruleIdstringrequiredRule ID
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredID
namestringOptional name for the configuration.
idTypestringThe type of ID which the dynamic config is based on.
descriptionstringrequiredA brief summary of what the dynamic config is being used for
lastModifierIDstringrequiredID of the last modifier.
lastModifiedTimenumberrequiredTime of the last modification.
lastModifierEmailstringrequiredEmail of the last modifier.
lastModifierNamestringrequiredName of the last modifier.
creatorIDstringcreatedTimenumberrequiredTimestamp when the entity was created.
creatorNamestringrequiredName of the creator.
creatorEmailstringtagsstring[]The list of tag names attached to the dynamic config
targetAppsoneOfholdoutIDsstring[]Holdouts applied to this configuration.
teamstringThe team name associated with the dynamic config, Enterprise only.
teamIDstringThe team ID associated with the dynamic config, Enterprise only.
versionnumberVersion number
isEnabledbooleanrequiredIs the dynamic config enabled
rulesobject[]requiredAn array of Rule objects
name[]stringrequiredThe name of this rule.
passPercentage[]numberrequiredOf the users that meet the conditions of this rule, what percent should return true.
conditions[]object[]requiredAn array of Condition objects.
targetValue[]oneOfoperator[]stringfield[]stringcustomID[]stringtype[]stringrequiredenvironments[]string[]id[]stringThe Statsig ID of this rule.
baseID[]stringThe base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
returnValue[]objectcompletedAutomatedRollouts[]object[]Read-only: Automated rollout phases that have already completed.
time[]numberpassPercent[]numberrequiredpendingAutomatedRollouts[]object[]Read-only: Automated rollout phases that are scheduled but not yet complete.
time[]numberpassPercent[]numberrequiredreturnValueJson5[]stringvariants[]object[]id[]stringname[]stringrequiredpassPercentage[]numberrequiredreturnValue[]objectreturnValueJson5[]stringdefaultValueobjectThe fallback JSON object when no rules are triggered
defaultValueJson5stringCan include comments. If provided with defaultValue, must parse to the same JSON
ownerobjectSchema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
ownerIDstringID of the owner
ownerTypestringType of the owner (e.g., SDK_KEY or USER)
ownerNamestringThe name of the owner. This field is optional.
ownerEmailstringThe email of the owner. This field is optional.
schemastringA schema using JSON Schema Draft 2020-12 to enforce return values of this dynamic config's rules.
schemaJson5stringschema except with Json5 comments. Optional and should parse to same json as schema.
releasePipelineIDstringThe release pipeline ID associated with the dynamic config
isTemplatebooleanstatusstringchecksPerHournumberpermalinkstringrequiredA permalink to this dynamic config in the Statsig Console.
typestringrequiredThe lifecycle type of the config (TEMPORARY, PERMANENT, or STALE). STALE classification depends on the nightly stale detection batch job having run; a config not yet processed reads as TEMPORARY.
typeReasonstringrequiredThe reason for the current type classification. Depends on the nightly stale detection batch job having run.
isPermanentbooleanrequiredWhether the config has been explicitly marked as long-lived.
Was this helpful?